Get the internal details for the specified mesh

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static void GetPolyCount(
	DependencyObject item,
	out int nVerts,
	out int nTris,
	out int nUVs
)
Visual Basic
Public Shared Sub GetPolyCount ( _
	item As DependencyObject, _
	<OutAttribute> ByRef nVerts As Integer, _
	<OutAttribute> ByRef nTris As Integer, _
	<OutAttribute> ByRef nUVs As Integer _
)
JScript
public static function GetPolyCount(
	item : DependencyObject, 
	nVerts : int, 
	nTris : int, 
	nUVs : int
)

Parameters

item
Type: System.Windows..::..DependencyObject
The mesh to analyze
nVerts
Type: System..::..Int32%
return the number of vertex in the mesh
nTris
Type: System..::..Int32%
return the number of triangles in the mesh
nUVs
Type: System..::..Int32%
return the number of UVs in the mesh

See Also