Enumeration

GKMeshGraphTriangulationMode

Options for how to place graph nodes when generating the graph, used by the triangulationMode property.

Declaration

typedef enum GKMeshGraphTriangulationMode : NSUInteger {
    ...
} GKMeshGraphTriangulationMode;

Overview

Topics

Constants

GKMeshGraphTriangulationModeVertices

An option to place graph nodes at each vertex in the generated mesh.

GKMeshGraphTriangulationModeCenters

An option to place graph nodes at the center of each polygon in the generated mesh.

GKMeshGraphTriangulationModeEdgeMidpoints

An option to place graph nodes at the midpoint of each in the generated mesh.