|
MeshOctTreeNodeCollectBoundingBoxesInLevel Method |
CollectBoundingBoxesInLevel is a diagnostics method and fills the boundingBoxes list with bounding boxes from child nodes.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public static void CollectBoundingBoxesInLevel(
MeshOctTreeNode node,
int targetNodeLevel,
bool getActualBoundingBox,
bool collectOnlyNodesWithTriangles,
List<BoundingBox> boundingBoxes
)
Parameters
- node MeshOctTreeNode
- 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