SpatialMoveEndEvent

class SpatialMoveEndEvent


An event representing the end of a move event.

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

Summary

Public constructors

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

Public functions

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

Public properties

Pose

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

Float

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

IntVolumeSize

The IntVolumeSize value that includes the width, height and depth of the composable, factoring in shrinking or stretching due to scale.

Public constructors

SpatialMoveEndEvent

Added in 1.0.0-alpha07
SpatialMoveEndEvent(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 final 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 final 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.