Search Results for

    Show / Hide Table of Contents

    Struct NavMeshPath

    Agent NavMesh path.

    Implements
    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ProjectDawn.Navigation
    Assembly: ProjectDawn.Navigation.dll
    Syntax
    public struct NavMeshPath : IComponentData, IQueryTypeParameter, IEnableableComponent

    Fields

    | Improve this Doc View Source

    AgentTypeId

    The type ID for the agent in NavMesh.

    Declaration
    public int AgentTypeId
    Field Value
    Type Description
    int
    | Improve this Doc View Source

    AreaMask

    Specifies which NavMesh areas are passable. Changing areaMask will make the path stale (see isPathStale).

    Declaration
    public int AreaMask
    Field Value
    Type Description
    int
    | Improve this Doc View Source

    AutoRepath

    Should the agent attempt to acquire a new path if the existing path becomes invalid?

    Declaration
    public bool AutoRepath
    Field Value
    Type Description
    bool
    | Improve this Doc View Source

    EndLocation

    End location of the agent on NavMesh.

    Declaration
    public NavMeshLocation EndLocation
    Field Value
    Type Description
    NavMeshLocation
    | Improve this Doc View Source

    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 bool Grounded
    Field Value
    Type Description
    bool
    | Improve this Doc View Source

    Location

    Current location of the agent on NavMesh.

    Declaration
    public NavMeshLocation Location
    Field Value
    Type Description
    NavMeshLocation
    | Improve this Doc View Source

    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 MappingExtent
    Field Value
    Type Description
    float3
    | Improve this Doc View Source

    QueryHandle

    Query handle of current requested path.

    Declaration
    public NavMeshQueryHandle QueryHandle
    Field Value
    Type Description
    NavMeshQueryHandle
    | Improve this Doc View Source

    State

    State of the path.

    Declaration
    public NavMeshPathState State
    Field Value
    Type Description
    NavMeshPathState

    Properties

    | Improve this Doc View Source

    Constrained

    Agent NavMesh path.

    Declaration
    [Obsolete("Constrained is deprecated, please use Grounded.")]
    public bool Constrained { get; set; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Default

    Returns default configuration.

    Declaration
    public static NavMeshPath Default { get; }
    Property Value
    Type Description
    NavMeshPath
    | Improve this Doc View Source

    HasFullPath

    Agent NavMesh path.

    Declaration
    public bool HasFullPath { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    HasPartialPath

    Agent NavMesh path.

    Declaration
    public bool HasPartialPath { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    HasPath

    Agent NavMesh path.

    Declaration
    public bool HasPath { get; }
    Property Value
    Type Description
    bool

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    Unity.Entities.IEnableableComponent
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX