androidx.xr.compose.spatial

Classes

OrbiterPosition

Represents the position of an Orbiter in relation to the parent, defined by its alignment, edge alignment, and offset.

OrbiterPosition.BottomCenter

Bottom-Center edge alignment.

OrbiterPosition.BottomEnd

Bottom-End edge alignment.

OrbiterPosition.BottomLeft

Bottom-Left absolute edge alignment.

OrbiterPosition.BottomRight

Bottom-Right absolute edge alignment.

OrbiterPosition.BottomStart

Bottom-Start edge alignment.

OrbiterPosition.Center

Center of the parent (non-edge).

OrbiterPosition.CenterEnd

Center-End edge alignment.

OrbiterPosition.CenterLeft

Center-Left absolute edge alignment.

OrbiterPosition.CenterRight

Center-Right absolute edge alignment.

OrbiterPosition.CenterStart

Center-Start edge alignment.

OrbiterPosition.EdgeAlignment

Specifies how the Orbiter is aligned relative to its parent's layout boundary.

OrbiterPosition.TopCenter

Top-Center edge alignment.

OrbiterPosition.TopEnd

Top-End edge alignment.

OrbiterPosition.TopLeft

Top-Left absolute edge alignment.

OrbiterPosition.TopRight

Top-Right absolute edge alignment.

OrbiterPosition.TopStart

Top-Start edge alignment.

SpatialDialogProperties

Properties for configuring a SpatialDialog.

Objects

OrbiterDefaults

Contains default values used by Orbiters.

SpatialElevationLevel

Defines standardized resting elevation levels for spatial UI elements.

Annotations

ExperimentalFollowingSubspaceApi

Marks Subspace APIs that are experimental and likely to change or be removed in the future.

Composables

FollowingSubspace

Create a user-centric 3D space that is ideal for spatial UI content that follows a target.

Orbiter

A composable that creates an orbiter along the edge or center of a parent spatial component.

PlanarEmbeddedSubspace

Creates a 3D space for spatial content that is embedded within and positioned by a 2D container.

SpatialDialog

SpatialDialog is a dialog that is elevated above the activity.

SpatialElevation

Composable that creates a panel in 3D space when spatialization is enabled.

SpatialPopup

A composable that creates a panel in 3D space to hoist Popup based composables.

Subspace

Create a 3D area that the app can render spatial content into.