Structure

GKMeshGraphTriangulationMode

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

Declaration

struct GKMeshGraphTriangulationMode

Overview

Topics

Constants

static var vertices: GKMeshGraphTriangulationMode

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

static var centers: GKMeshGraphTriangulationMode

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

static var edgeMidpoints: GKMeshGraphTriangulationMode

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

Relationships

Conforms To