SpatialRotateValue

class SpatialRotateValue(val centroid: NormalizedPoint3D, val rotation: Rotation3D, val leftInteractionKind: InteractionKind, val rightInteractionKind: InteractionKind, val targetEntity: Entity? = null)

Class that holds the value of a rotate gesture.

Constructors

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

Properties

Link copied to clipboard

The centroid of the rotate gesture in normalized space.

Link copied to clipboard

The interaction kind of the left pointer.

Link copied to clipboard

The interaction kind of the right pointer.

Link copied to clipboard

The rotation of the rotate gesture, when gesture is rotating. every rotation delta will be return is relative to the last rotation.

Link copied to clipboard

If the scale gesture happens on a 3d model, targetEntity will be the Entity of the 3d model. Otherwise, targetEntity will be null.

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