Contents

mouseDragged(atPositionX:positionY:activePart:modifiers:forceUpdate:at:)

Provides information when the left mouse button is pressed and the pointer is moved with the mouse button still down.

Declaration

func mouseDragged(atPositionX mousePositionX: Double, positionY mousePositionY: Double, activePart: Int, modifiers: FxModifierKeys, forceUpdate: UnsafeMutablePointer<ObjCBool>!, at time: CMTime)

Parameters

  • mousePositionX:

    X position of the pointer (in ‘drawingCoordinates’ space).

  • mousePositionY:

    Y position of the pointer (in ‘drawingCoordinates’ space).

  • activePart:

    The active part of the control that currently contains the pointer.

  • modifiers:

    The keyboard modifiers currently pressed.

  • forceUpdate:

    Set to YES if the filter/generator associated with this control needs to be re-calculated; NO otherwise.

  • time:

    The current time when the pointer was moved.

Mentioned in

Discussion

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.

See Also

Instance Methods