URecastNavMeshDataChunk

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavMesh/RecastNavMeshDataChunk.h

Include

#include "NavMesh/RecastNavMeshDataChunk.h"

Syntax

class URecastNavMeshDataChunk : public UNavigationDataChunk

Constructors

Name Description

Public function

URecastNavMeshDataChunk

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

TArray< uint...

 

AttachTiles

(
    FPImplRecastNavMesh& NavMeshImpl
)

Attaches tiles to specified navmesh, transferring tile ownership to navmesh

Public function

TArray< uint...

 

AttachTiles

(
    FPImplRecastNavMesh& NavMeshImpl,
    const bool bKeepCopyOfData,
    const bool bKeepCopyOfCacheData
)

Attaches tiles to specified navmesh

Public function

TArray< uint...

 

DetachTiles

(
    FPImplRecastNavMesh& NavMeshImpl
)

Detaches tiles from specified navmesh, taking tile ownership

Public function

TArray< uint...

 

DetachTiles

(
    FPImplRecastNavMesh& NavMeshImpl,
    const bool bTakeDataOwnership,
    const bool bTakeCacheDataOwnership
)

Detaches tiles from specified navmesh

Public function

TArray< FRec...

 

GetMutableTiles()

Mutable accessor to the list of tiles in the data chunk.

Public function Const

int32

 

GetNumTiles()

Number of tiles in this chunk

Public function Const

const TArray...

 

GetTiles()

Const accessor to the list of tiles in the data chunk.

Public function

void

 

GetTiles

(
    const FPImplRecastNavMesh* Nav...,
    const TArray< int32 >& TileIndices,
    const EGatherTilesCopyMode CopyMode,
    const bool bMarkAsAttached
)

Collect tiles with data and/or cache data from the provided TileIndices.

Public function

void

 

MoveTiles

(
    FPImplRecastNavMesh& NavMeshImpl,
    const FIntPoint& Offset,
    const float RotationDeg,
    const FVector2D& RotationCenter
)

Experimental: Moves tiles data on the xy plane by the offset (in tile coordinates) and rotation (in degree).

Public function

void

 

ReleaseTiles()

Releases all tiles that this chunk holds

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Functions

Name Description

Public function

void

 

GatherTiles

(
    const FPImplRecastNavMesh* Nav...,
    const TArray< int32 >& TileIndices
)

Use GetTiles() instead.

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