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