---
title: Entity.CoordinateSpaceReference
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/entity/coordinatespacereference
---

# Entity.CoordinateSpaceReference

Defines the coordinate space reference for transform conversion.

## Declaration

```swift
enum CoordinateSpaceReference
```

## Overview

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

- [Entity.CoordinateSpaceReference.immersiveSpace](realitykit/entity/coordinatespacereference/immersivespace.md)
- [Entity.CoordinateSpaceReference.scene](realitykit/entity/coordinatespacereference/scene.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)

## See Also

### Positioning entities in space

- [HasTransform](realitykit/hastransform.md)
- [Transform](realitykit/transform.md)
- [transformMatrix(relativeTo:)](realitykit/entity/transformmatrix(relativeto:).md)
- [Entity.ForwardDirection](realitykit/entity/forwarddirection.md)
