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