Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FSparseDynamicOctree3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseDynamicOctree3.h |
| Include | #include "Spatial/SparseDynamicOctree3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Spatial/SparseDynamicOctree3.cpp |
bool CheckIfObjectNeedsReinsert
&40;
int32 ObjectID,
const FAxisAlignedBox3d & NewBounds,
uint32 & CellIDOut
&41; const
Remarks
Check if the object needs to be reinserted, if it has NewBounds. false if ObjectID is already in the tree, and NewBounds fits within the cell that currently contains ObjectID
Parameters
| Name | Description |
|---|---|
| ObjectID | ID of the object |
| NewBounds | new bounding box of the object |
| CellIDOut | returned CellID of the object, if it is in the tree. This can be passed to ReinsertObject() to save some computation. |