SpatialTransformValue

@Immutable
class SpatialTransformValue(val centroid: NormalizedPoint3D, val dragAmount: Offset3D, val scaleValue: Float, val rotation: Rotation3D, val leftInteractionKind: InteractionKind, val rightInteractionKind: InteractionKind, val targetEntity: Entity? = null)

Value class for spatial transform gesture.

Constructors

Link copied to clipboard
constructor(centroid: NormalizedPoint3D, dragAmount: Offset3D, scaleValue: Float, rotation: Rotation3D, leftInteractionKind: InteractionKind, rightInteractionKind: InteractionKind, targetEntity: Entity? = null)

Properties

Link copied to clipboard

The centroid point of the transform gesture in normalized space.

Link copied to clipboard
val dragAmount: Offset3D

The drag amount of the transform gesture in normalized space.

Link copied to clipboard

The interaction kind of the left hand.

Link copied to clipboard

The interaction kind of the right hand.

Link copied to clipboard

The rotation value of the transform gesture.

Link copied to clipboard
val scaleValue: Float

The scale value of the transform gesture.

Link copied to clipboard

The target entity of the transform gesture.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String