 |
MeshOctreeCollectBoundingBoxesInLevel Method |
CollectBoundingBoxesInLevel is a diagnostics method and returns a list of bounding boxes from child nodes.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic List<BoundingBox> CollectBoundingBoxesInLevel(
int nodeLevel,
bool getActualBoundingBox = true,
bool collectOnlyNodesWithTriangles = true
)
Parameters
- nodeLevel Int32
- node level
- getActualBoundingBox Boolean (Optional)
- true to get ActualBoundingBox, false to get NodeBoundingBox
- collectOnlyNodesWithTriangles Boolean (Optional)
- when true then only bounding boxes from nodes that have any triangle is collected
Return Value
ListBoundingBox list of bounding boxes from child nodes
See Also