The U4DNavMeshLoader class loads the navigation mesh imported from blender.
More...
The U4DNavMeshLoader class loads the navigation mesh imported from blender.
◆ loadDigitalAssetFile()
| bool U4DEngine::U4DNavMeshLoader::loadDigitalAssetFile |
( |
const char * |
uFile | ) |
|
loads the digital asset file representing the nav mesh
- Parameters
-
- Returns
- true if the file was loaded
◆ loadNavMesh()
| bool U4DEngine::U4DNavMeshLoader::loadNavMesh |
( |
U4DNavMesh * |
uNavMesh, |
|
|
std::string |
uNavMeshName |
|
) |
| |
loads the nav mesh node data
- Parameters
-
| uNavMesh | pointer to the navmesh object. The nav mesh data will be loaded into this object. |
| uNavMeshName | name of nav mesh as specified in blender |
- Returns
- true if the data was properly loaded into the navmesh object
◆ loadNavMeshNodeIndex()
| void U4DEngine::U4DNavMeshLoader::loadNavMeshNodeIndex |
( |
U4DNavMeshNode & |
uNavMeshNode, |
|
|
std::string |
uStringData |
|
) |
| |
loads the nav mesh node indices
- Parameters
-
| uNavMeshNode | current nav mesh node object |
| uStringData | data containing the index data |
◆ loadNavMeshNodeLocation()
| void U4DEngine::U4DNavMeshLoader::loadNavMeshNodeLocation |
( |
U4DNavMeshNode & |
uNavMeshNode, |
|
|
std::string |
uStringData |
|
) |
| |
loads the nav mesh node location
- Parameters
-
| uNavMeshNode | current nav mesh node object |
| uStringData | data containing the location value |
◆ loadNavMeshNodeNeighbours()
| void U4DEngine::U4DNavMeshLoader::loadNavMeshNodeNeighbours |
( |
U4DNavMeshNode & |
uNavMeshNode, |
|
|
std::string |
uStringData |
|
) |
| |
loads the nav mesh node neighbours
- Parameters
-
| uNavMeshNode | current nav mesh node object |
| uStringData | data containing the neighbours indices values |
◆ stringToFloat()
| void U4DEngine::U4DNavMeshLoader::stringToFloat |
( |
std::string |
uStringData, |
|
|
std::vector< float > * |
uFloatData |
|
) |
| |
Method which converts a string value to float value.
- Parameters
-
| uStringData | string data |
| uFloatData | float data |
◆ stringToInt()
| void U4DEngine::U4DNavMeshLoader::stringToInt |
( |
std::string |
uStringData, |
|
|
std::vector< int > * |
uIntData |
|
) |
| |
Method which converts a string value to int value.
- Parameters
-
| uStringData | string data |
| uIntData | int data |