public class NavigationMesh : Resource

Inheritance Chain

Static Fields

    public const Int32 ParsedGeometryBoth = 2

    public const Int32 ParsedGeometryMeshInstances = 0

    public const Int32 ParsedGeometryStaticColliders = 1

    public const Int32 SamplePartitionLayers = 2

    public const Int32 SamplePartitionMonotone = 1

    public const Int32 SamplePartitionWatershed = 0

Constructors

    public NavigationMesh()

Properties

    public float Agent__height { get; set; }

    public float Agent__maxClimb { get; set; }

    public float Agent__maxSlope { get; set; }

    public float Agent__radius { get; set; }

    public float Cell__height { get; set; }

    public float Cell__size { get; set; }

    public float Detail__sampleDistance { get; set; }

    public float Detail__sampleMaxError { get; set; }

    public float Edge__maxError { get; set; }

    public float Edge__maxLength { get; set; }

    public bool Filter__filterWalkableLowHeightSpans { get; set; }

    public bool Filter__ledgeSpans { get; set; }

    public bool Filter__lowHangingObstacles { get; set; }

    public uint Geometry__collisionMask { get; set; }

    public int Geometry__parsedGeometryType { get; set; }

    public float Polygon__vertsPerPoly { get; set; }

    public Collections.Array Polygons { get; set; }

    public float Region__mergeSize { get; set; }

    public float Region__minSize { get; set; }

    public int SamplePartitionType__samplePartitionType { get; set; }

    public Vector3[] Vertices { get; set; }

Methods

    public void AddPolygon(int[] polygon)

    public void ClearPolygons()

    public void CreateFromMesh(Mesh mesh)

    [Obsolete("GetAgentHeight is deprecated. Use the Agent__height property instead.")]
    public float GetAgentHeight()

Getter for Agent__height

    [Obsolete("GetAgentMaxClimb is deprecated. Use the Agent__maxClimb property instead.")]
    public float GetAgentMaxClimb()

Getter for Agent__maxClimb

    [Obsolete("GetAgentMaxSlope is deprecated. Use the Agent__maxSlope property instead.")]
    public float GetAgentMaxSlope()

Getter for Agent__maxSlope

    [Obsolete("GetAgentRadius is deprecated. Use the Agent__radius property instead.")]
    public float GetAgentRadius()

Getter for Agent__radius

    [Obsolete("GetCellHeight is deprecated. Use the Cell__height property instead.")]
    public float GetCellHeight()

Getter for Cell__height

    [Obsolete("GetCellSize is deprecated. Use the Cell__size property instead.")]
    public float GetCellSize()

Getter for Cell__size

    [Obsolete("GetCollisionMask is deprecated. Use the Geometry__collisionMask property instead.")]
    public uint GetCollisionMask()

    public bool GetCollisionMaskBit(int bit)

    [Obsolete("GetDetailSampleDistance is deprecated. Use the Detail__sampleDistance property instead.")]
    public float GetDetailSampleDistance()

Getter for Detail__sampleDistance

    [Obsolete("GetDetailSampleMaxError is deprecated. Use the Detail__sampleMaxError property instead.")]
    public float GetDetailSampleMaxError()

Getter for Detail__sampleMaxError

    [Obsolete("GetEdgeMaxError is deprecated. Use the Edge__maxError property instead.")]
    public float GetEdgeMaxError()

Getter for Edge__maxError

    [Obsolete("GetEdgeMaxLength is deprecated. Use the Edge__maxLength property instead.")]
    public float GetEdgeMaxLength()

Getter for Edge__maxLength

    [Obsolete("GetFilterLedgeSpans is deprecated. Use the Filter__ledgeSpans property instead.")]
    public bool GetFilterLedgeSpans()

Getter for Filter__ledgeSpans

    [Obsolete("GetFilterLowHangingObstacles is deprecated. Use the Filter__lowHangingObstacles property instead.")]
    public bool GetFilterLowHangingObstacles()

Getter for Filter__lowHangingObstacles

    [Obsolete("GetFilterWalkableLowHeightSpans is deprecated. Use the Filter__filterWalkableLowHeightSpans property instead.")]
    public bool GetFilterWalkableLowHeightSpans()

Getter for Filter__filterWalkableLowHeightSpans

    [Obsolete("GetParsedGeometryType is deprecated. Use the Geometry__parsedGeometryType property instead.")]
    public int GetParsedGeometryType()

Getter for Geometry__parsedGeometryType

    public int[] GetPolygon(int idx)

    public int GetPolygonCount()

    [Obsolete("GetRegionMergeSize is deprecated. Use the Region__mergeSize property instead.")]
    public float GetRegionMergeSize()

Getter for Region__mergeSize

    [Obsolete("GetRegionMinSize is deprecated. Use the Region__minSize property instead.")]
    public float GetRegionMinSize()

Getter for Region__minSize

    [Obsolete("GetSamplePartitionType is deprecated. Use the SamplePartitionType__samplePartitionType property instead.")]
    public int GetSamplePartitionType()

Getter for SamplePartitionType__samplePartitionType

    [Obsolete("GetVertices is deprecated. Use the Vertices property instead.")]
    public Vector3[] GetVertices()

    [Obsolete("GetVertsPerPoly is deprecated. Use the Polygon__vertsPerPoly property instead.")]
    public float GetVertsPerPoly()

Getter for Polygon__vertsPerPoly

    [Obsolete("SetAgentHeight is deprecated. Use the Agent__height property instead.")]
    public void SetAgentHeight(float agentHeight)

Setter for Agent__height

    [Obsolete("SetAgentMaxClimb is deprecated. Use the Agent__maxClimb property instead.")]
    public void SetAgentMaxClimb(float agentMaxClimb)

Setter for Agent__maxClimb

    [Obsolete("SetAgentMaxSlope is deprecated. Use the Agent__maxSlope property instead.")]
    public void SetAgentMaxSlope(float agentMaxSlope)

Setter for Agent__maxSlope

    [Obsolete("SetAgentRadius is deprecated. Use the Agent__radius property instead.")]
    public void SetAgentRadius(float agentRadius)

Setter for Agent__radius

    [Obsolete("SetCellHeight is deprecated. Use the Cell__height property instead.")]
    public void SetCellHeight(float cellHeight)

Setter for Cell__height

    [Obsolete("SetCellSize is deprecated. Use the Cell__size property instead.")]
    public void SetCellSize(float cellSize)

Setter for Cell__size

    [Obsolete("SetCollisionMask is deprecated. Use the Geometry__collisionMask property instead.")]
    public void SetCollisionMask(uint mask)

    public void SetCollisionMaskBit(int bit, bool value)

    [Obsolete("SetDetailSampleDistance is deprecated. Use the Detail__sampleDistance property instead.")]
    public void SetDetailSampleDistance(float detailSampleDist)

Setter for Detail__sampleDistance

    [Obsolete("SetDetailSampleMaxError is deprecated. Use the Detail__sampleMaxError property instead.")]
    public void SetDetailSampleMaxError(float detailSampleMaxError)

Setter for Detail__sampleMaxError

    [Obsolete("SetEdgeMaxError is deprecated. Use the Edge__maxError property instead.")]
    public void SetEdgeMaxError(float edgeMaxError)

Setter for Edge__maxError

    [Obsolete("SetEdgeMaxLength is deprecated. Use the Edge__maxLength property instead.")]
    public void SetEdgeMaxLength(float edgeMaxLength)

Setter for Edge__maxLength

    [Obsolete("SetFilterLedgeSpans is deprecated. Use the Filter__ledgeSpans property instead.")]
    public void SetFilterLedgeSpans(bool filterLedgeSpans)

Setter for Filter__ledgeSpans

    [Obsolete("SetFilterLowHangingObstacles is deprecated. Use the Filter__lowHangingObstacles property instead.")]
    public void SetFilterLowHangingObstacles(bool filterLowHangingObstacles)

Setter for Filter__lowHangingObstacles

    [Obsolete("SetFilterWalkableLowHeightSpans is deprecated. Use the Filter__filterWalkableLowHeightSpans property instead.")]
    public void SetFilterWalkableLowHeightSpans(bool filterWalkableLowHeightSpans)

Setter for Filter__filterWalkableLowHeightSpans

    [Obsolete("SetParsedGeometryType is deprecated. Use the Geometry__parsedGeometryType property instead.")]
    public void SetParsedGeometryType(int geometryType)

Setter for Geometry__parsedGeometryType

    [Obsolete("SetRegionMergeSize is deprecated. Use the Region__mergeSize property instead.")]
    public void SetRegionMergeSize(float regionMergeSize)

Setter for Region__mergeSize

    [Obsolete("SetRegionMinSize is deprecated. Use the Region__minSize property instead.")]
    public void SetRegionMinSize(float regionMinSize)

Setter for Region__minSize

    [Obsolete("SetSamplePartitionType is deprecated. Use the SamplePartitionType__samplePartitionType property instead.")]
    public void SetSamplePartitionType(int samplePartitionType)

Setter for SamplePartitionType__samplePartitionType

    [Obsolete("SetVertices is deprecated. Use the Vertices property instead.")]
    public void SetVertices(Vector3[] vertices)

    [Obsolete("SetVertsPerPoly is deprecated. Use the Polygon__vertsPerPoly property instead.")]
    public void SetVertsPerPoly(float vertsPerPoly)

Setter for Polygon__vertsPerPoly

Tags: