 |
MeshOctTreeNodeCollectNodesCountInLevel Method |
CollectNodesCountInLevel is a diagnostics method and returns the number of nodes (
MeshOctTreeNode objects) in the specified targetNodeLevel level.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic 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