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 |
void CheckValidity
(
TFunctionRef < bool> IsValidObjectIDFunc,
TFunctionRef < FAxisAlignedBox3d > GetObjectBoundsFunc,
EValidityCheckFailMode FailMode,
bool bVerbose,
bool bFailOnMissingObjects
) const
Remarks
Check that the octree is internally valid
Parameters
| Name | Description |
|---|---|
| IsValidObjectIDFunc | function that returns true if given ObjectID is valid |
| GetObjectBoundSFunc | function that returns bounding box of object identified by ObjectID |
| FailMode | how should validity checks fail |
| bVerbose | if true, print some debug info via UE_LOG |
| bFailOnMissingObjects | if true, assume ObjectIDs are dense and that all ObjectIDs must be in the tree |