 |
MeshOctreeNodeCollectNodesCountInLevel Method |
CollectNodesCountInLevel is a diagnostics method and returns the number of nodes (
MeshOctreeNode objects) in the specified targetNodeLevel level.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static void CollectNodesCountInLevel(
MeshOctreeNode node,
int targetNodeLevel,
bool countChildNodes,
ref int nodesCount
)
Parameters
- node MeshOctreeNode
- start node
- targetNodeLevel Int32
- target node level
- countChildNodes Boolean
- true to count child nodes
- nodesCount Int32
- number of nodes (by ref)
See Also