 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshOctreeNode.CollectBoundingBoxesInLevel(Ab4d.SharpEngine.Utilities.MeshOctreeNode,System.Int32,System.Boolean,System.Boolean,System.Collections.Generic.List{Ab4d.SharpEngine.Common.BoundingBox})"]
See Also