PolygonMesh.triangleCount Property

Parent Object: PolygonMesh
Defined in namespace "adsk::fusion" and the header file is <Fusion/MeshData/PolygonMesh.h>

Description

Returns the number of triangles in the mesh.

Syntax

"polygonMesh_var" is a variable referencing a PolygonMesh object.

# Get the value of the property.
propertyValue = polygonMesh_var.triangleCount
"polygonMesh_var" is a variable referencing a PolygonMesh object.
#include <Fusion/MeshData/PolygonMesh.h>

// Get the value of the property.
integer propertyValue = polygonMesh_var->triangleCount();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version August 2014