androidx.xr.compose.subspace

Interfaces

FollowTarget

A FollowTarget can be used with androidx.xr.compose.spatial.FollowingSubspace to have a set of content follow a target such as an anchor or AR device.

SpatialBoxScope

Scope for the children of SpatialBox.

SpatialColumnScope

Scope for customizing the layout of children within a SpatialColumn.

SpatialExternalSurfaceScope

SpatialExternalSurfaceScope is a scoped environment that provides the Surface associated with a SpatialExternalSurface

SpatialRowScope

Scope for customizing the layout of children within a SpatialRow.

Classes

AnchorPolicy

Represents the anchoring behavior of a spatial object.

DragPolicy

Base Policy for motion behavior of spatial objects.

FollowBehavior

A FollowBehavior controls the motion of content as it is following another target, such as a user's head.

MovePolicy

Defines the movement policy for a spatial object.

ResizePolicy

Defines the resizing policy for a spatial object.

SceneCoreEntitySizeAdapter

The sizing strategy used by SceneCoreEntity to control and read the size of an entity.

StereoMode

Mode for SpatialExternalSurface display.

SuperSamplingPattern

Specifies the super sampling setting for this Surface.

SurfaceProtection

Specifies if the Surface should be backed by android.hardware.HardwareBuffers with the USAGE_PROTECTED_CONTENT flag set.

TrackedDimensions

A set of boolean flags which determine the dimensions of movement that are tracked.

Objects

SpatialCurvedRowDefaults

Contains the default values used by SpatialCurvedRow.

SpatialPanelDefaults

Contains default values used by spatial panels.

Annotations

SubspaceComposable

Marks a composable function or other code element as intended for use within the context of SubspaceComposable functions.

Composables

SceneCoreEntity

A composable that attaches to a SceneCore entity and allow compose to size, position, reparent, add children, and apply modifiers to the entity.

SpatialActivityPanel

Creates a SpatialActivityPanel and launches an Activity within it.

SpatialAndroidViewPanel

Creates a SpatialAndroidViewPanel representing a 2D plane in 3D space where an Android View will be hosted.

SpatialBox

A layout composable that sizes itself to fit its content, subject to incoming constraints.

SpatialColumn

A layout composable that arranges its children in a vertical sequence.

SpatialCurvedRow

A layout composable that arranges its children in a curved horizontal sequence.

SpatialExternalSurface

A Composable that creates and owns an Android Surface into which the application can render stereo image content.

SpatialExternalSurface180Hemisphere

A Composable that creates and owns an Android Surface into which the application can render stereo image content inside a 180 degree hemisphere dome.

SpatialExternalSurface360Sphere

A Composable that creates and owns an Android Surface into which the application can render stereo image content inside a 360 degree sphere dome.

SpatialLayoutSpacer

A composable that represents an empty space layout.

SpatialMainPanel

A composable that renders the Activity's main window's 2D UI content, defined in androidx.activity.compose.setContent, as a panel in a Subspace.

SpatialPanel

Creates a SpatialPanel representing a 2D plane in 3D space in which an application can fill content.

SpatialRow

A layout composable that arranges its children in a horizontal sequence.

SpatialSpacer

A composable that represents an empty space layout.