Click or drag to resize
AB4D logo

MeshOctTreeNodeCollectBoundingBoxesInLevel Method

CollectBoundingBoxesInLevel is a diagnostics method and fills the boundingBoxes list with bounding boxes from child nodes.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
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