# Pose

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

*** ** * ** ***


```
public final class Pose
```

<br />

*** ** * ** ***

Immutable rigid transformation from one coordinate space to another.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#Identity()` Returns a new pose using the identity rotation. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#Pose(androidx.xr.runtime.math.Pose)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other)` Creates a new pose with the same values as the `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#(androidx.xr.runtime.math.Pose)` pose. |
| `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#Pose(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Quaternion)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 translation, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion rotation)` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#compose(androidx.xr.runtime.math.Pose)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other)` Returns the result of composing `this` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#compose(androidx.xr.runtime.math.Pose)`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#copy(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Quaternion)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 translation, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion rotation)` Returns a copy of the pose. |
| `static final float` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#distance(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose lhs, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose rhs)` Returns the distance between the two poses. |
| `boolean` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` Returns true if this pose is equal to the `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#equals(kotlin.Any)`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 eye, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 target, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 up)` Creates a pose looking at `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` from `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` vector. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getBackward()()` The backward vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getDown()()` The down vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getForward()()` The forward vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getForwardVectorToUpRotation(androidx.xr.runtime.math.Pose)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other)` Calculates rotation to align local Z-axis `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#forward()` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getForwardVectorToUpRotation(androidx.xr.runtime.math.Pose)`'s `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#up()` direction. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getInverse()()` Returns a pose that performs the opposite transformation. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getLeft()()` The left vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getRight()()` The right vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getRotation()()` the rotation component of this pose |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getTranslation()()` the translation component of this pose |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getUp()()` The up vector in the local coordinate system. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getUpVectorToUpRotation(androidx.xr.runtime.math.Pose)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other)` Calculates rotation to align local Y-axis `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#up()` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getUpVectorToUpRotation(androidx.xr.runtime.math.Pose)`'s up direction. |
| `int` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#hashCode()()` |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose start, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose end, float ratio)` Linearly interpolates between `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)` and `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)` by `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#rotate(androidx.xr.runtime.math.Quaternion)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion rotation)` Rotates this pose by the given `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#rotate(androidx.xr.runtime.math.Quaternion)`. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#toString()()` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformPoint(androidx.xr.runtime.math.Vector3)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 point)` Transforms `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformPoint(androidx.xr.runtime.math.Vector3)` using pose rotation and translation. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformVector(androidx.xr.runtime.math.Vector3)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 vector)` Transforms `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformVector(androidx.xr.runtime.math.Vector3)` using only pose rotation. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#translate(androidx.xr.runtime.math.Vector3)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 translation)` Translates this pose by the given `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#translate(androidx.xr.runtime.math.Vector3)`. |

## Public fields

### Identity

```
public static final @NonNull Pose Identity
```

Returns a new pose using the identity rotation.

## Public constructors

### Pose

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public Pose(@NonNull Pose other)
```

Creates a new pose with the same values as the `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#(androidx.xr.runtime.math.Pose)` pose.

### Pose

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public Pose(@NonNull Vector3 translation, @NonNull Quaternion rotation)
```

## Public methods

### compose

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Pose compose(@NonNull Pose other)
```

Returns the result of composing `this` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#compose(androidx.xr.runtime.math.Pose)`.

### copy

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Pose copy(@NonNull Vector3 translation, @NonNull Quaternion rotation)
```

Returns a copy of the pose.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 translation` | the new translation for the copied pose |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion rotation` | the new rotation for the copied pose |

### distance

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final float distance(@NonNull Pose lhs, @NonNull Pose rhs)
```

Returns the distance between the two poses.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose lhs` | the first pose |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose rhs` | the second pose |

### equals

```
public boolean equals(Object other)
```

Returns true if this pose is equal to the `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#equals(kotlin.Any)`.

### fromLookAt

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull Pose fromLookAt(@NonNull Vector3 eye, @NonNull Vector3 target, @NonNull Vector3 up)
```

Creates a pose looking at `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` from `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` vector.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 eye` | the position from which to look at `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 target` | the target position to look at |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Vector3 up` | a vector indicating the general "up" direction |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose` | the pose oriented to look at `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` from `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` position with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#fromLookAt(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3)` as the up vector |

### getBackward

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getBackward()
```

The backward vector in the local coordinate system.

### getDown

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getDown()
```

The down vector in the local coordinate system.

### getForward

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getForward()
```

The forward vector in the local coordinate system.

### getForwardVectorToUpRotation

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Quaternion getForwardVectorToUpRotation(@NonNull Pose other)
```

Calculates rotation to align local Z-axis `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#forward()` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getForwardVectorToUpRotation(androidx.xr.runtime.math.Pose)`'s `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#up()` direction.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other` | the given pose |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion` | a Quaternion representing the rotation to apply to the pose |

### getInverse

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Pose getInverse()
```

Returns a pose that performs the opposite transformation.

### getLeft

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getLeft()
```

The left vector in the local coordinate system.

### getRight

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getRight()
```

The right vector in the local coordinate system.

### getRotation

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Quaternion getRotation()
```

the rotation component of this pose

### getTranslation

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getTranslation()
```

the translation component of this pose

### getUp

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 getUp()
```

The up vector in the local coordinate system.

### getUpVectorToUpRotation

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Quaternion getUpVectorToUpRotation(@NonNull Pose other)
```

Calculates rotation to align local Y-axis `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#up()` with `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#getUpVectorToUpRotation(androidx.xr.runtime.math.Pose)`'s up direction.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose other` | the given pose |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion` | a Quaternion representing the rotation to apply to the pose |

### hashCode

```
public int hashCode()
```

### lerp

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public static final @NonNull Pose lerp(@NonNull Pose start, @NonNull Pose end, float ratio)
```

Linearly interpolates between `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)` and `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)` by `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)`. The position is `https://developer.android.com/reference/androidx/xr/runtime/math/Vector3#lerp(androidx.xr.runtime.math.Vector3,androidx.xr.runtime.math.Vector3,kotlin.Float)`, but the rotation will be `https://developer.android.com/reference/androidx/xr/runtime/math/Quaternion#slerp(androidx.xr.runtime.math.Quaternion,androidx.xr.runtime.math.Quaternion,kotlin.Float)` if the angles are far apart.

If `https://developer.android.com/reference/androidx/xr/runtime/math/Pose.Companion#lerp(androidx.xr.runtime.math.Pose,androidx.xr.runtime.math.Pose,kotlin.Float)` is outside of the range `[0, 1]`, the returned pose will be extrapolated.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose start` | the starting pose |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/Pose end` | the ending pose |
| `float ratio` | the interpolation ratio |

### rotate

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Pose rotate(@NonNull Quaternion rotation)
```

Rotates this pose by the given `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#rotate(androidx.xr.runtime.math.Quaternion)`.

### toString

```
public @NonNull String toString()
```

### transformPoint

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 transformPoint(@NonNull Vector3 point)
```

Transforms `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformPoint(androidx.xr.runtime.math.Vector3)` using pose rotation and translation. A point represents a specific location in space and is affected by translation, scale, and orientation.

### transformVector

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Vector3 transformVector(@NonNull Vector3 vector)
```

Transforms `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#transformVector(androidx.xr.runtime.math.Vector3)` using only pose rotation. A vector represents a direction and magnitude, not a specific location. It only needs to account for the scale and orientation of the space it is in since it has no position.

### translate

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull Pose translate(@NonNull Vector3 translation)
```

Translates this pose by the given `https://developer.android.com/reference/androidx/xr/runtime/math/Pose#translate(androidx.xr.runtime.math.Vector3)`.