NavMesh¶
- Inherit:
- SceneObject
Description¶
UNDOCUMENTED!
Methods¶
-
bool
NavMesh::build(bool background, bool save)¶ Create a Recast nav mesh.
-
void
NavMesh::buildTiles(Box3F box)¶ Rebuild the tiles overlapped by the input box.
-
void
NavMesh::cancelBuild()¶ Cancel the current NavMesh build.
-
bool
NavMesh::load()¶ Load this NavMesh from its file.
-
void
NavMesh::save()¶ Save this NavMesh to its file.
Fields¶
-
float
NavMesh::actorClimb¶ Maximum climbing height of an actor.
-
float
NavMesh::actorHeight¶ Height of an actor.
-
float
NavMesh::actorRadius¶ Radius of an actor.
-
bool
NavMesh::alwaysRender¶ Display this NavMesh even outside the editor.
-
int
NavMesh::borderSize¶ Size of the non-walkable border around the navigation mesh (in voxels).
-
float
NavMesh::cellHeight¶ Height of a voxel.
-
float
NavMesh::cellSize¶ Length/width of a voxel.
-
float
NavMesh::detailSampleDist¶ Sets the sampling distance to use when generating the detail mesh.
-
float
NavMesh::detailSampleError¶ The maximum distance the detail mesh surface should deviate from heightfield data.
-
string
NavMesh::fileName¶ Name of the data file to store this navmesh in (relative to engine executable).
-
int
NavMesh::maxEdgeLen¶ The maximum allowed length for contour edges along the border of the mesh.
-
int
NavMesh::maxPolysPerTile¶ The maximum number of polygons allowed in a tile.
-
int
NavMesh::mergeRegionArea¶ Any regions with a span count smaller than this value will, if possible, be merged with larger regions.
-
int
NavMesh::minRegionArea¶ The minimum number of cells allowed to form isolated island areas.
-
float
NavMesh::simplificationError¶ The maximum distance a simplfied contour’s border edges should deviate from the original raw contour.
-
float
NavMesh::tileSize¶ The horizontal size of tiles.
-
float
NavMesh::walkableSlope¶ Maximum walkable slope in degrees.