Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicPointOctree3.h |
| Include | #include "Spatial/SparseDynamicPointOctree3.h" |
Syntax
struct FSparsePointOctreeCell
Remarks
FSparsePointOctreeCell is a Node in a SparseDynamicOctree3.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | CellID | ID of cell (index into cell list) | |
| TStaticArray< uint32, 8 > | Children | CellID of each child, or InvalidID if that child does not exist | |
| FVector3i | Index | I,j,k index of cell in level, relative to origin | |
| uint8 | Level | Level of cell in octree |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSparsePointOctreeCell
(
uint8 LevelIn, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetChildCellID
(
int ChildIndex |
||
| bool | HasChild
(
int ChildIndex |
||
| bool | |||
| FSparsePointOctreeCell | MakeChildCell
(
int ChildIndex |
||
| void | SetChild
(
uint32 ChildIndex, |
Constants
| Name | Description |
|---|---|
| InvalidID | |
| InvalidLevel |