Instance Method

mouseDragged:positionY:activePart:modifiers:forceUpdate:time:

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

Required.

Declaration

- (void)mouseDragged:(double)mousePositionX positionY:(double)mousePositionY activePart:(NSInteger)activePart modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate time:(double)time;

Parameters

mousePositionX

The X position of the cursor, in drawingCoordinates coordinate space.

mousePositionY

The Y position of the cursor, in drawingCoordinates coordinate space.

activePart

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

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, expressed in canonical frames, when the pointer was moved.

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 FxHostCapabilities for more information.

See Also

Handling Mouse Events

- mouseUp:positionY:activePart:modifiers:forceUpdate:time:

Provides information when the left mouse button is released.

Required.

- mouseDown:positionY:activePart:modifiers:forceUpdate:time:

Provides information when the left mouse button is pressed and the cursor is on an image with an active plug-in control.

Required.