Struct NavMeshPath
Agent NavMesh path.
Implements
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct NavMeshPath : IComponentData, IQueryTypeParameter, IEnableableComponentFields
| Improve this Doc View SourceAgentTypeId
The type ID for the agent in NavMesh.
Declaration
public int AgentTypeIdField Value
| Type | Description | 
|---|---|
| int | 
AreaMask
Specifies which NavMesh areas are passable. Changing areaMask will make the path stale (see isPathStale).
Declaration
public int AreaMaskField Value
| Type | Description | 
|---|---|
| int | 
AutoRepath
Should the agent attempt to acquire a new path if the existing path becomes invalid?
Declaration
public bool AutoRepathField Value
| Type | Description | 
|---|---|
| bool | 
EndLocation
End location of the agent on NavMesh.
Declaration
public NavMeshLocation EndLocationField Value
| Type | Description | 
|---|---|
| NavMeshLocation | 
Grounded
Constraint agent to be on the surface. It is useful to disable then used with physics, to allow more freedom motion and precision.
Declaration
public Grounded GroundedField Value
| Type | Description | 
|---|---|
| Grounded | 
Location
Current location of the agent on NavMesh.
Declaration
public NavMeshLocation LocationField Value
| Type | Description | 
|---|---|
| NavMeshLocation | 
MappingExtent
Maximum distance on each axis will be used when attempting to map the agent's position or destination onto navmesh. The higher the value, the bigger the performance cost.
Declaration
public float3 MappingExtentField Value
| Type | Description | 
|---|---|
| float3 | 
OptimizePath
Agent NavMesh path.
Declaration
public bool OptimizePathField Value
| Type | Description | 
|---|---|
| bool | 
QueryHandle
Query handle of current requested path.
Declaration
public NavMeshQueryHandle QueryHandleField Value
| Type | Description | 
|---|---|
| NavMeshQueryHandle | 
State
State of the path.
Declaration
public NavMeshPathState StateField Value
| Type | Description | 
|---|---|
| NavMeshPathState | 
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static NavMeshPath Default { get; }Property Value
| Type | Description | 
|---|---|
| NavMeshPath | 
HasFullPath
Agent NavMesh path.
Declaration
public bool HasFullPath { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasPartialPath
Agent NavMesh path.
Declaration
public bool HasPartialPath { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasPath
Agent NavMesh path.
Declaration
public bool HasPath { get; }Property Value
| Type | Description | 
|---|---|
| bool |