<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/Accessory/LocationName",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit9AccessoryV12LocationNameV"
  },
  "title" : "Accessory.LocationName"
}
-->

# Accessory.LocationName

Location names to fetch transforms defined on accessories.
Some pre-defined location names that are common to accessories conforming to the OpenXR spec
are provided as a convenience. These are not required to exist on all accessories.

```
struct LocationName
```

## Topics

### Initializers

[`init(String)`](/documentation/ARKit/Accessory/LocationName/init(_:))

Init without label provided as a convenience.

[`init(rawValue: String)`](/documentation/ARKit/Accessory/LocationName/init(rawValue:))

Init with label (required by RawRepresentable).

### Instance Properties

[`var description: String`](/documentation/ARKit/Accessory/LocationName/description)

Textual representation of this location name.

[`let rawValue: String`](/documentation/ARKit/Accessory/LocationName/rawValue)

The location name string.

### Type Properties

[`static let aim: Accessory.LocationName`](/documentation/ARKit/Accessory/LocationName/aim)

Aim point for spatial gamepads and styluses.

[`static let grip: Accessory.LocationName`](/documentation/ARKit/Accessory/LocationName/grip)

Grip for spatial gamepads.

[`static let gripSurface: Accessory.LocationName`](/documentation/ARKit/Accessory/LocationName/gripSurface)

Grip surface for spatial gamepads.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)