FNavigationOctree

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TOctree2

TSharedFromThis

FNavigationOctree

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationOctree.h

Include

#include "NavigationOctree.h"

Syntax

Variables

Name Description

Protected variable

uint32: 1

 

bGatherGeometry

Public variable

FNavigableGeome...

 

ComponentExportDelegate

Protected variable

ENavDataGatheri...

 

DefaultGeometryGatheringMode

Protected variable

float

 

GatheringNavModifiersTimeLimitWarning

Protected variable

uint32

 

NodesMemory

Protected variable

TMap< uint32, F...

 

ObjectToOctreeId

Constructors

Name Description

Public function

FNavigationOctree

(
    const FVector& Origin,
    float Radius
)

Destructors

Name Description

Public function Virtual

~FNavigationOctree()

Functions

Name Description

Public function

void

 

AddElement

(
    const FNavigationOctreeElement& El...
)

Adds an element to the octree.

Public function

void

 

AddNode

(
    UObject* ElementOb,
    INavRelevantInterface* NavElem...,
    const FBox& Bounds,
    FNavigationOctreeElement& Data
)

Add new node and fill it with navigation export data

Public function

void

 

AppendToNode

(
    const FOctreeElementId2& Id,
    INavRelevantInterface* NavElem...,
    const FBox& Bounds,
    FNavigationOctreeElement& Data
)

Append new data to existing node

Public function

void

 

DemandChildLazyDataGathering

(
    FNavigationRelevantData& ElementDa...,
    INavRelevantInterface& ChildNavInt...
)

Public function

void

 

DemandLazyDataGathering

(
    FNavigationRelevantData& ElementDa...
)

Public function Const

const FNavig...

 

GetDataForID

(
    const FOctreeElementId2& Id
)

Public function Const

ENavGeometry...

 

GetNavGeometryStoringMode()

Public function Static

uint32

 

HashObject

(
    const UObject& Object
)

Public function Const

bool

 

IsLazyGathering

(
    const INavRelevantInterface& Child...
)

Lazy data gathering methods.

Public function

void

 

RemoveElement

(
    FOctreeElementId2 ElementId
)

Removes an element from the octree.

Public function

void

 

RemoveNode

(
    const FOctreeElementId2& Id
)

Remove node

Public function

void

 

SetDataGatheringMode

Protected function

void

 

SetElementIdImpl

(
    const uint32 OwnerUniqueId,
    FOctreeElementId2 Id
)

Public function

void

 

SetGatheringNavModifiersTimeLimitWarning

(
    const float Threshold
)

Public function

void

 

SetNavigableGeometryStoringMode

(
    ENavGeometryStoringMode NavGeometry...
)

Public function

void

 

UpdateNode

(
    const FOctreeElementId2& Id,
    const FBox& NewBounds
)

Updates element bounds remove/add operation

Enums

Name

Description

Public enum

ENavGeometryStoringMode

Typedefs