FNavMeshTileData

Structure to handle nav mesh tile's raw data persistence and releasing

Windows
MacOS
Linux

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

Name Description

Public variable

int32

 

DataSize

Size of allocated data

Public variable

FBox

 

LayerBBox

Public variable

int32

 

LayerIndex

Layer index

Public variable

TSharedPtr< FNa...

 

NavData

Actual tile data

Constructors

Name Description

Public function

FNavMeshTileData()

Public function

FNavMeshTileData

(
    uint8* RawData,
    int32 RawDataSize,
    int32 LayerIdx,
    FBox LayerBounds
)

Destructors

Name Description

Public function

~FNavMeshTileData()

Functions

Name Description

Public function

uint8 *

 

GetData()

Public function Const

const uint8 ...

 

GetData()

Public function

uint8 *

 

GetDataSafe()

Public function Const

bool

 

IsValid()

Public function

void

 

MakeUnique()

Duplicate shared state so we will have own copy of the data.

Public function

uint8 *

 

Release()

Operators

Name Description

Public function Const

bool

 

operator==

(
    const uint8* RawData
)

Classes

Name

Description

Public struct

FNavData

Helper function so that we release NavData via dtFree not regular delete (for navigation mem stats)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss