Click or drag to resize
AB4D logo

MeshOctTreeNodeGetTrianglesCountInLevel Method

Gets number of triangles in the specified node and its child nodes.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static void GetTrianglesCountInLevel(
	MeshOctTreeNode node,
	bool countChildNodes,
	ref int trianglesCount
)

Parameters

node  MeshOctTreeNode
start node
countChildNodes  Boolean
true to count triangles in child nodes also
trianglesCount  Int32
number of triangles (by ref)
See Also