Struct NavMeshCorners
Helper structure for getting corners of agent navmesh path.
Implements
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct NavMeshCorners : IDisposable
Constructors
| Improve this Doc View SourceNavMeshCorners(int, Entity, Allocator)
Helper structure for getting corners of agent navmesh path.
Declaration
public NavMeshCorners(int capacity, Entity entity, Allocator allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| int | capacity | |
| Entity | entity | |
| Allocator | allocator |
Methods
| Improve this Doc View SourceDispose()
Helper structure for getting corners of agent navmesh path.
Declaration
public void Dispose()
TryGetCorners(out NativeSlice<NavMeshLocation>)
Helper structure for getting corners of agent navmesh path.
Declaration
public bool TryGetCorners(out NativeSlice<NavMeshLocation> corners)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeSlice<NavMeshLocation> | corners |
Returns
| Type | Description |
|---|---|
| bool |