Called when the modifier keys have changed.
Main function, called when an event is raised for this interaction
Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior
Optional
active: number | booleanSets the modification key to listen to or the default modification key if none is provided.
Optional
mod: ModificationKeyTypeSets the pointer key for this interaction or the default pointer if none is provided.
Optional
pointer: PointerKeyTypeThe current active bitmask for EventType
A unique identifier for this interaction
The current active ModificationKeyType
The currently active PointerKeyType
Readonly
scaledEvent raised if the handlers are dragged. The resulting array is of type [sx, sy, sz] where all numbers are considered to be deltas to the previous event (where 1 means no scaling).
A class to handle events on a TransformationHandler. Should be used with TransformationHandler created for mode TransformationMode.SCALE.. If the handlers are dragged, the scaled event will be raised.