PF_EventExtra¶
This structure provide context information for the current event. After Effects passes a pointer to this structure in the extra parameter of the Entry Point function.
The PF_EventUnion
(sent in the PF_EventExtra
) varies with the event type, and contains information specific to that event.
Member |
Purpose |
---|---|
|
Handle to the This drawing context is used with the Drawbot suites for drawing, and also for the UI Callbacks. |
|
Which event is occurring. |
|
A PF_EventUnion containing information specific to the event. |
|
A Otherwise, as of After Effects 5.0, effect_win can be replaced by a This struct contains both a Replacement only occurs if |
|
Pointer to UI Callbacks, which are needed to translate points between layer, composition, and screen coordinate systems. |
|
Event Input Flags. This currently contains only one value, |
|
One or more of the following, combined with a bitwise OR operation:
|
PF_Context¶
PF_Context details the event's UI context.
Member |
Purpose |
---|---|
|
Do not change. |
|
The window type. If you have Custom Comp and ECW UIs in the same plug-in, this is the way to differentiate between them (what kind of masochist are you, anyway?).
|
|
Do not change. |
|
An array of 4 |
|
A |
|
Do not change. |
PF_EffectWindowInfo¶
If an event occurs in the ECP, an PF_EffectWindowInfo is sent in PF_EventExtra.
Member |
Purpose |
---|---|
|
This indicates which parameter in the effect window is being affected. The controls are numbered from 0 to the number of controls minus 1. |
|
This indicates if the control title ( The title is the area still visible when the parameter's topic ("twirly") is spun up. |
|
A PF_Rect indicating the full frame of the area occupied by the control. |
|
A PF_Rect indicating the title area of the control. |
|
A horizontal offset from the left side of the title area in which to draw into the title. |