public class NavigationMesh : Resource

Inheritance Chain

Static Fields

    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 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)

    public float GetAgentHeight()

Getter for Agent__height

    public float GetAgentMaxClimb()

Getter for Agent__maxClimb

    public float GetAgentMaxSlope()

Getter for Agent__maxSlope

    public float GetAgentRadius()

Getter for Agent__radius

    public float GetCellHeight()

Getter for Cell__height

    public float GetCellSize()

Getter for Cell__size

    public float GetDetailSampleDistance()

Getter for Detail__sampleDistance

    public float GetDetailSampleMaxError()

Getter for Detail__sampleMaxError

    public float GetEdgeMaxError()

Getter for Edge__maxError

    public float GetEdgeMaxLength()

Getter for Edge__maxLength

    public bool GetFilterLedgeSpans()

Getter for Filter__ledgeSpans

    public bool GetFilterLowHangingObstacles()

Getter for Filter__lowHangingObstacles

    public bool GetFilterWalkableLowHeightSpans()

Getter for Filter__filterWalkableLowHeightSpans

    public int[] GetPolygon(int idx)

    public int GetPolygonCount()

    public float GetRegionMergeSize()

Getter for Region__mergeSize

    public float GetRegionMinSize()

Getter for Region__minSize

    public int GetSamplePartitionType()

Getter for SamplePartitionType__samplePartitionType

    public Vector3[] GetVertices()

    public float GetVertsPerPoly()

Getter for Polygon__vertsPerPoly

    public void SetAgentHeight(float agentHeight)

Setter for Agent__height

    public void SetAgentMaxClimb(float agentMaxClimb)

Setter for Agent__maxClimb

    public void SetAgentMaxSlope(float agentMaxSlope)

Setter for Agent__maxSlope

    public void SetAgentRadius(float agentRadius)

Setter for Agent__radius

    public void SetCellHeight(float cellHeight)

Setter for Cell__height

    public void SetCellSize(float cellSize)

Setter for Cell__size

    public void SetDetailSampleDistance(float detailSampleDist)

Setter for Detail__sampleDistance

    public void SetDetailSampleMaxError(float detailSampleMaxError)

Setter for Detail__sampleMaxError

    public void SetEdgeMaxError(float edgeMaxError)

Setter for Edge__maxError

    public void SetEdgeMaxLength(float edgeMaxLength)

Setter for Edge__maxLength

    public void SetFilterLedgeSpans(bool filterLedgeSpans)

Setter for Filter__ledgeSpans

    public void SetFilterLowHangingObstacles(bool filterLowHangingObstacles)

Setter for Filter__lowHangingObstacles

    public void SetFilterWalkableLowHeightSpans(bool filterWalkableLowHeightSpans)

Setter for Filter__filterWalkableLowHeightSpans

    public void SetRegionMergeSize(float regionMergeSize)

Setter for Region__mergeSize

    public void SetRegionMinSize(float regionMinSize)

Setter for Region__minSize

    public void SetSamplePartitionType(int samplePartitionType)

Setter for SamplePartitionType__samplePartitionType

    public void SetVertices(Vector3[] vertices)

    public void SetVertsPerPoly(float vertsPerPoly)

Setter for Polygon__vertsPerPoly

Tags: