Use AEGP_ItemSuite>AEGP_ReportInfo() to report information to users, and identify your plug-in. However, you can use the ItemH associated with them to AEGP_GetItemName (from AEGP_ItemSuite9). Consequently, their names cannot be retrieved by AEGP_GetItemName (in AEGP_ItemSuite9) or AEGP_GetLayerName (in AEGP_LayerSuite9). Solids have names in the After Effects UI, but not in their PF_LayerDef PF_EffectWorld / PF_LayerDef. Similarly, adding or removing output modules invalidates any such references for each render queue item. If you call AEGP_AddCompToRenderQueue (from AEGP_RenderQueueSuite1), or if the user manually adds or removes a composition from the render queue, all references to render queue items are invalidated. See AEGP_StartAddKeyframes() (under AEGP_KeyframeSuite3) for an example. The end function will properly dispose of the cookie. Typically, the begin function will return an opaque identifier, or ‘cookie’, which you must then pass to the functions being used. In cases where After Effects must preserve state information around the functions your AEGP calls (as when an artisan is rendering a frame, or a keyframer is adding and removing a series of keyframes from the same stream), you’ll call begin() and end() functions.
0 Comments
Leave a Reply. |