<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameplayKit",
  "identifier" : "/documentation/GameplayKit/GKMeshGraphTriangulationMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:@E@GKMeshGraphTriangulationMode"
  },
  "title" : "GKMeshGraphTriangulationMode"
}
-->

# GKMeshGraphTriangulationMode

Options for how to place graph nodes when generating the graph, used by the [`triangulationMode`](/documentation/GameplayKit/GKMeshGraph/triangulationMode) property.

```
struct GKMeshGraphTriangulationMode
```

## Topics

### Constants

[`vertices`](/documentation/GameplayKit/GKMeshGraphTriangulationMode/vertices)

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

[`centers`](/documentation/GameplayKit/GKMeshGraphTriangulationMode/centers)

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

[`edgeMidpoints`](/documentation/GameplayKit/GKMeshGraphTriangulationMode/edgeMidpoints)

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

### Initializers

[`init(rawValue:)`](/documentation/GameplayKit/GKMeshGraphTriangulationMode/init(rawValue:))



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)