Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- XML
- general
Foundation Reference
buildNavMesh
DescriptionBuild the navigation mesh based on the specified world dataDefinition
buildNavMesh(integer navMeshId, integer worldNode, float cellSize, float cellHeight, float agentHeight, float agentRadius, float agentMaxClimb, float agentMaxSlope, float minRegionSize, float mergeRegionSize, float maxEdgeLength, float maxSimplificationError, integer navMeshBuildMask, float terrainDetail, string terrainCullInfoLayer, integer terrainCullInfoLayerChannels)Arguments
integer | navMeshId | navMeshId |
integer | worldNode | worldNode |
float | cellSize | cellSize |
float | cellHeight | cellHeight |
float | agentHeight | agentHeight |
float | agentRadius | agentRadius |
float | agentMaxClimb | agentMaxClimb |
float | agentMaxSlope | agentMaxSlope |
float | minRegionSize | minRegionSize |
float | mergeRegionSize | mergeRegionSize |
float | maxEdgeLength | maxEdgeLength |
float | maxSimplificationError | maxSimplificationError |
integer | navMeshBuildMask | navMeshBuildMask |
float | terrainDetail | terrainDetail |
string | terrainCullInfoLayer | terrainCullInfoLayer |
integer | terrainCullInfoLayerChannels | terrainCullInfoLayerChannels |
success | boolean | success |