Instance Property

triangleCount

The number of triangles in the mesh.

Declaration

@property(nonatomic, readonly) NSUInteger triangleCount;

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

- triangulate

Creates or updates the graph with a network of nodes that describes the open space around its obstacles.

triangulationMode

A set of options for how to place graph nodes when triangulating the graph.

- triangleAtIndex:

The triangle definition at the specified index.