Class

VerticalOrbiterProperties

XR-specific properties for components that use vertically-aligned Orbiters.

Source set: Android
public class VerticalOrbiterProperties(
    public val offset: Dp,
    public val offsetType: OrbiterOffsetType,
    public val position: ContentEdge.Vertical,
    public val alignment: Alignment.Vertical,
    public val shape: SpatialShape,
)

XR-specific properties for components that use vertically-aligned Orbiters.

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

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

Functions

copy

Source set: Android
public fun copy(
        offset: Dp? = null,
        offsetType: OrbiterOffsetType? = null,
        position: ContentEdge.Vertical? = null,
        alignment: Alignment.Vertical? = null,
        shape: SpatialShape? = null,
    ): VerticalOrbiterProperties

Returns a new VerticalOrbiterProperties 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: