<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/NavigationMeshResource/PathNode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation22NavigationMeshResourceC8PathNodeV"
  },
  "title" : "NavigationMeshResource.PathNode"
}
-->

# NavigationMeshResource.PathNode

A container for the path node data.

```
struct PathNode
```

## Topics

### Creating a path node

[`init(position: SIMD3<Float>, category: NavigationMeshResource.PathNode.Category, label: String)`](/documentation/RealityKit/NavigationMeshResource/PathNode/init(position:category:label:))

### Categorizing path nodes

[`var category: NavigationMeshResource.PathNode.Category`](/documentation/RealityKit/NavigationMeshResource/PathNode/category-swift.property)

The category of the node.

[`enum Category`](/documentation/RealityKit/NavigationMeshResource/PathNode/Category-swift.enum)

The categories of path nodes.

### Instance Properties

[`var label: String`](/documentation/RealityKit/NavigationMeshResource/PathNode/label)

The label of the node.

[`var position: SIMD3<Float>`](/documentation/RealityKit/NavigationMeshResource/PathNode/position)

The position of the node.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)