Preparing search index...

    Class PinchGestureMoveEvent

    Triggered while the user is pinching.

    function onPinchMove(eventData) {
    var scale = eventData.getScale();
    var touches = eventData.getTouches();
    }
    var ev = script.createEvent("PinchGestureMoveEvent");
    ev.bind(onPinchMove);

    Hierarchy (View Summary)

    Index

    Properties

    enabled: boolean

    If true, the event is able to trigger. If false, the event will not trigger.

    Methods

    • Binds a callback function to this event.

      Parameters

      • evCallback: (arg1: this) => void

      Returns void

    • Change in scale relative to the initial span of the pinch gesture.

      Returns number

    • Normalized screen positions ([0,1] x [0,1]) of all touches during the pinch.

      Returns vec2[]

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean