Click or drag to resize
AB4D logo

MeshOctTreeNodeCollectNodesCountInLevel Method

CollectNodesCountInLevel is a diagnostics method and returns the number of nodes (MeshOctTreeNode objects) in the specified targetNodeLevel level.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public static void CollectNodesCountInLevel(
	MeshOctTreeNode node,
	int targetNodeLevel,
	bool countChildNodes,
	ref int nodesCount
)

Parameters

node  MeshOctTreeNode
start node
targetNodeLevel  Int32
target node level
countChildNodes  Boolean
true to count child nodes
nodesCount  Int32
number of nodes (by ref)
See Also