@ExperimentalMaterial3XrApi
class OrbiterProperties


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.

Summary

Public constructors

Public functions

OrbiterProperties
copy(position: OrbiterPosition?, shape: SpatialShape?)

Returns a new OrbiterProperties with one or more properties changed.

open operator Boolean
equals(other: Any?)
open Int
open String

Public constructors

OrbiterProperties

Added in 1.0.0-alpha17
OrbiterProperties(position: OrbiterPosition, shape: SpatialShape)

Public functions

copy

Added in 1.0.0-alpha17
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

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

position

Added in 1.0.0-alpha17
val positionOrbiterPosition

shape

Added in 1.0.0-alpha17
val shapeSpatialShape