Enum values specifying each type of manipulation. See ManipulateComponent.

// Disables the scale functionality on a manipulate component when a user taps
//@input Component.ManipulateComponent manip

function onTap(eventData)
{
script.manip.enableManipulateType(ManipulateType.Scale, false);
}
var tapEvent = script.createEvent("TapEvent");
tapEvent.bind(onTap);

Enumeration Members

Enumeration Members

Drag: number

The object can be moved by touching and dragging.

Scale: number

The object can be scaled by pinching with two fingers.

Swivel: number

The object can be rotated by swiveling with two fingers.