SpatialScaleValue
class SpatialScaleValue(val centroid: NormalizedPoint3D, val scaleValue: Float, val leftInteractionKind: InteractionKind, val rightInteractionKind: InteractionKind, val targetEntity: Entity? = null)
Class that holds data for a spatial scale gesture.
Constructors
Link copied to clipboard
constructor(centroid: NormalizedPoint3D, scaleValue: Float, leftInteractionKind: InteractionKind, rightInteractionKind: InteractionKind, targetEntity: Entity? = null)
Properties
Link copied to clipboard
The centroid of the two pointers that are currently performing the scale gesture.
Link copied to clipboard
The kind of interaction that is currently being performed by the left hand.
Link copied to clipboard
The kind of interaction that is currently being performed by the right hand.
Link copied to clipboard
The scale value of the gesture. This is the difference between the current scale and the previous scale.
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.