---
title: "OrbiterPoseProvider"
description: "Calculates the Pose of an Orbiter in 3D space relative to its spatial parent."
type: "interface"
lastmod: "2026-05-08T01:17:01.412988Z"
---
## API Reference

> Source set: Android

```kotlin
public fun interface OrbiterPoseProvider
```

Calculates the `Pose` of an [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter) in 3D space relative to its spatial parent.

## Functions

### calculatePose

```kotlin
public fun calculatePose(
        anchorSize: IntSize,
        layoutDirection: LayoutDirection,
        orbiterContentSize: IntSize,
    ): Pose
```

Calculate the `Pose` of the [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter).

#### Parameters

| | |
| --- | --- |
| anchorSize | The size of the [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter)'s anchor target in pixels. |
| layoutDirection | The layout direction of the [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter). |
| orbiterContentSize | The size of the [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter)'s content in pixels. |

#### Returns

| | |
| --- | --- |
|  | The `Pose` of the [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter) in meters. |
