INavMeshParameters

Configures the navigation mesh creation

Hierarchy

  • INavMeshParameters

Index

Properties

ch

Find examples in Playground
ch: number

The y-axis cell size to use for fields. [Limit: > 0] [Units: wu]

cs

Find examples in Playground
cs: number

The xz-plane cell size to use for fields. [Limit: > 0] [Units: wu]

detailSampleDist

Find examples in Playground
detailSampleDist: number

Sets the sampling distance to use when generating the detail mesh. (For height detail only.) [Limits: 0 or >= 0.9] [Units: wu]

detailSampleMaxError

Find examples in Playground
detailSampleMaxError: number

The maximum distance the detail mesh surface should deviate from heightfield data. (For height detail only.) [Limit: >=0] [Units: wu]

maxEdgeLen

Find examples in Playground
maxEdgeLen: number

The maximum allowed length for contour edges along the border of the mesh. [Limit: >=0] [Units: vx]

maxSimplificationError

Find examples in Playground
maxSimplificationError: number

The maximum distance a simplfied contour's border edges should deviate the original raw contour. [Limit: >=0] [Units: vx]

maxVertsPerPoly

Find examples in Playground
maxVertsPerPoly: number

The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. [Limit: >= 3]

mergeRegionArea

Find examples in Playground
mergeRegionArea: number

Any regions with a span count smaller than this value will, if possible, be merged with larger regions. [Limit: >=0] [Units: vx]

minRegionArea

Find examples in Playground
minRegionArea: number

The minimum number of cells allowed to form isolated island areas. [Limit: >=0] [Units: vx]

walkableClimb

Find examples in Playground
walkableClimb: number

Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx]

walkableHeight

Find examples in Playground
walkableHeight: number

Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. [Limit: >= 3] [Units: vx]

walkableRadius

Find examples in Playground
walkableRadius: number

The distance to erode/shrink the walkable area of the heightfield away from obstructions. [Limit: >=0] [Units: vx]

walkableSlopeAngle

Find examples in Playground
walkableSlopeAngle: number

The maximum slope that is considered walkable. [Limits: 0 <= value < 90] [Units: Degrees]

Generated using TypeDoc