<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/GeometricPin/init(named:offsetPosition:offsetOrientation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12GeometricPinV5named14offsetPosition0F11OrientationACSS_s5SIMD3VySfGSo10simd_quatfatcfc"
  },
  "title" : "init(named:offsetPosition:offsetOrientation:)"
}
-->

# init(named:offsetPosition:offsetOrientation:)

Creates a geometric pin that identifies a local position and orientation.

```
init(named name: String, offsetPosition: SIMD3<Float> = SIMD3<Float>(0, 0, 0), offsetOrientation: simd_quatf = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1))
```

## Parameters

`name`

Name of the `GeometricPin` in the namespace of the owning entity.

`offsetPosition`

Adjustment of the `GeometricPin` position in the local coordinate frame.

`offsetOrientation`

Adjustment of the `GeometricPin` orientation in the local coordinate frame.

---

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)