Source set: Android
public fun interface OrbiterPoseProvider
Calculates the Pose of an Orbiter in 3D space relative to its spatial parent.
Functions
calculatePose
public fun calculatePose(
anchorSize: IntSize,
layoutDirection: LayoutDirection,
orbiterContentSize: IntSize,
): Pose
Calculate the Pose of the Orbiter.
Parameters
| anchorSize | The size of the Orbiter's anchor target in pixels. |
| layoutDirection | The layout direction of the Orbiter. |
| orbiterContentSize | The size of the Orbiter's content in pixels. |
Returns
The Pose of the Orbiter in meters. |