Class

OrbiterProperties

XR-specific properties for components that use aligned androidx.xr.compose.spatial.Orbiters.

Source set: Android
public class OrbiterProperties(
    public val position: OrbiterPosition,
    public val shape: SpatialShape,
)

XR-specific properties for components that use aligned androidx.xr.compose.spatial.Orbiters.

These properties should be provided via a CompositionLocal for the given component.

The component should also define a publicly-visible default instance of OrbiterProperties and use it if the CompositionLocal is not set.

Functions

copy

Source set: Android
public fun copy(
        position: OrbiterPosition? = null,
        shape: SpatialShape? = null,
    ): OrbiterProperties

Returns a new OrbiterProperties with one or more properties changed.

If null is provided for any value, the existing value will be used.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: