Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/NavMesh
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavMesh/RecastNavMesh.h |
| Include | #include "NavMesh/RecastNavMesh.h" |
Syntax
struct FNavMeshTileData
Remarks
Structure to handle nav mesh tile's raw data persistence and releasing
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | DataSize | Size of allocated data | |
| FBox | LayerBBox | ||
| int32 | LayerIndex | Layer index | |
| TSharedPtr< FNavData, ESPMode::ThreadSafe > | NavData | Actual tile data |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNavMeshTileData
(
uint8* RawData, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint8 * | GetData () |
||
| const uint8 * | GetData () |
||
| uint8 * | GetDataSafe () |
||
| bool | IsValid () |
||
| void | MakeUnique () |
Duplicate shared state so we will have own copy of the data. | |
| uint8 * | Release () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const uint8* RawData |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FNavData | Helper function so that we release NavData via dtFree not regular delete (for navigation mem stats) |