<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/CoordinateSpaceReference",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC24CoordinateSpaceReferenceO"
  },
  "title" : "Entity.CoordinateSpaceReference"
}
-->

# Entity.CoordinateSpaceReference

Defines the coordinate space reference for transform conversion.

```
enum CoordinateSpaceReference
```

## Overview

Entity uses this option as a reference coordinate space during transform conversion.

Depending on the coordinate space that a caller entity is parented under, and whether there is an immersive space open, some transform conversion case can be inapplicable. Check out each case for more information.

## Topics

### Enumeration Cases

[`case immersiveSpace`](/documentation/RealityKit/Entity/CoordinateSpaceReference/immersiveSpace)

A reference to an opened immersive space.

[`case scene`](/documentation/RealityKit/Entity/CoordinateSpaceReference/scene)

A reference to an entity’s parent window scene.

## Relationships

### Conforms To

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

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

---

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)