Click or drag to resize
Ab4d.SharpEngine logo

MeshOctreeNodeCollectNodesCountInLevel Method

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

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public 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