Class NavMeshData
Assembly: FlaxEngine.dll
File: Engine/Navigation/NavMeshData.h
Syntax
public class NavMeshData
public class NavMeshData
The all loaded tiles.
public Array<NavMeshTileData> Tiles
Array<NavMeshTileData>
|
The size of the navmesh tile (in world units).
public float TileSize = 0.0f
float
|
Loads the navmesh tiles from the specified data source.
public bool Load(BytesContainer& data, bool copyData)
BytesContainer
data
The data container. |
bool
copyData
True if copy data into this container, otherwise will link the navmesh tiles data to the input bytes to reduce memory allocations and copies Use with caution. |
bool
True if failed, otherwise false. |
Saves the navmesh tiles to the specified stream.
public void Save(WriteStream& stream)
WriteStream
stream
The output stream. |