Enum values specifying each type of manipulation. See ManipulateComponent.
Lens Scripting Version 272
// Disables the scale functionality on a manipulate component when a user taps//@input Component.ManipulateComponent manipfunction onTap(eventData){ script.manip.enableManipulateType(ManipulateType.Scale, false);}var tapEvent = script.createEvent("TapEvent");tapEvent.bind(onTap); Copy
// Disables the scale functionality on a manipulate component when a user taps//@input Component.ManipulateComponent manipfunction onTap(eventData){ script.manip.enableManipulateType(ManipulateType.Scale, false);}var tapEvent = script.createEvent("TapEvent");tapEvent.bind(onTap);
The object can be moved by touching and dragging.
The object can be scaled by pinching with two fingers.
The object can be rotated by swiveling with two fingers.
Enum values specifying each type of manipulation. See ManipulateComponent.
Since
Lens Scripting Version 272
Example