FSmartObjectOctree

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TOctree2

FSmartObjectOctree

References

Module

SmartObjectsModule

Header

/Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectOctree.h

Include

#include "SmartObjectOctree.h"

Syntax

Constructors

Name Description

Public function

FSmartObjectOctree()

Public function

FSmartObjectOctree

(
    const FVector& Origin,
    float Radius
)

Destructors

Name Description

Public function Virtual

~FSmartObjectOctree()

Functions

Name Description

Public function

void

 

AddNode

(
    const FBoxCenterAndExtent& Bounds,
    const FSmartObjectID& SmartObjectI...,
    const FSmartObjectOctreeIDSharedRef...
)

Add new node and initialize using SmartObject runtime data

Public function

void

 

RemoveNode

(
    const FOctreeElementId2& Id
)

Remove node

Public function

void

 

UpdateNode

(
    const FOctreeElementId2& Id,
    const FBox& NewBounds
)

Updates element bounds remove/add operation