/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOctree3.h
FDynamicMeshOctree3is an extension ofFSparseDynamicOctree3for the triangles of aFDynamicMesh3instance. This extension does several things: 1) provides a simplified API based on triangle IDs to various Octree functions 2) tracks ModifiedBounds box of modified areas 3) support for computing/updating/querying a "Cut" of the octree, ie a set of cells which are roots of sub-branches that partition the tree. This is useful for splitting up mesh processing/rendering into spatially-coherent chunks. (This functionality should probably be extracted into a separate class...)
class FDynamicMeshOctree3 : public [UE::Geometry::FSparseDynamicOctree3](API\Runtime\GeometryCore\Spatial\FSparseDynamicOctree3)
constFDynamicM...
Mesh
Potential optimizations:
FAxisAlignedBox...
ModifiedBounds
Bounding box of triangles that have been inserted/removed since last clear