Click or drag to resize
AB4D logo

MeshOctTreeCollectBoundingBoxesInLevel Method

CollectBoundingBoxesInLevel is a diagnostics method and returns a list of bounding boxes from child nodes.

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