# Space

Artifact: [androidx.xr.scenecore:scenecore](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/Space.kt+class:androidx.xr.scenecore.Space) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class Space
```

<br />

*** ** * ** ***

Coordinate spaces in which to apply transformation values.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Space` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Space#ACTIVITY()` The global coordinate space, at the root of the scene graph for the activity. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Space` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Space#PARENT()` The coordinate space of an `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Entity`'s parent, such that the child Entity's pose, scale, etc., are expressed relative to the parent. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Space#toString()()` |

## Public companion properties

### ACTIVITY

```
val ACTIVITY: Space
```

The global coordinate space, at the root of the scene graph for the activity.

### PARENT

```
val PARENT: Space
```

The coordinate space of an `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Entity`'s parent, such that the child Entity's pose, scale, etc., are expressed relative to the parent.

## Public functions

### toString

```
open fun toString(): String
```