Contents

triangleCount

The number of triangles in the mesh.

Declaration

var triangleCount: Int { get }

Discussion

This property’s value is valid only after calling the triangulate() to create a mesh around the current configuration of obstacles.

See Also

Managing the Mesh