 |
MeshOctreeNodeCollectBoundingBoxesInLevel Method |
CollectBoundingBoxesInLevel is a diagnostics method and fills the boundingBoxes list with bounding boxes from child nodes.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static void CollectBoundingBoxesInLevel(
MeshOctreeNode node,
int targetNodeLevel,
bool getActualBoundingBox,
bool collectOnlyNodesWithTriangles,
List<BoundingBox> boundingBoxes
)
Parameters
- node MeshOctreeNode
- start node
- targetNodeLevel Int32
- target node level
- getActualBoundingBox Boolean
- true to get ActualBoundingBox, false to get NodeBoundingBox
- collectOnlyNodesWithTriangles Boolean
- when true then only bounding boxes from nodes that have any triangle is collected
- boundingBoxes ListBoundingBox
- list of BoundingBox structs
See Also