SpatialMoveStartEvent

class SpatialMoveStartEvent


An event representing the start of a move event.

This is expected to trigger when the user first starts moving the movable element and should only be called once per move action.

Summary

Public constructors

SpatialMoveStartEvent(pose: Pose, scale: Float, size: IntVolumeSize)

Public functions

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

Public properties

Pose

The initial pose of the composable in the subspace, relative to its parent, with its translation being expressed in pixels.

Float

The initial scale of the composable as a result of its motion.

IntVolumeSize

The IntVolumeSize value that includes the width, height and depth of the

Public constructors

SpatialMoveStartEvent

Added in 1.0.0-alpha07
SpatialMoveStartEvent(pose: Pose, scale: Float, size: IntVolumeSize)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

pose

Added in 1.0.0-alpha07
val posePose

The initial pose of the composable in the subspace, relative to its parent, with its translation being expressed in pixels.

scale

Added in 1.0.0-alpha07
val scaleFloat

The initial scale of the composable as a result of its motion. This value will change with the composable's depth when scaleWithDistance is true on the modifier.

size

Added in 1.0.0-alpha07
val sizeIntVolumeSize

The IntVolumeSize value that includes the width, height and depth of the

composable, factoring in shrinking or stretching due to scale.