Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Understanding plug-ins writing

  • Understanding plug-ins writing

    Posted by Jagi88 on July 26, 2006 at 12:07 pm

    Hi,
    I started studying AE SDK, and I have problem with understanding it. It goes about Skeleton template plug-in. There is the Render function. Here is the code:

    static PF_Err
    Render (
    PF_InData *in_data,
    PF_OutData *out_data,
    PF_ParamDef *params[],
    PF_LayerDef *output )
    {
    PF_Err err = PF_Err_NONE;
    AEGP_SuiteHandler suites(in_data->pica_basicP);

    /* Put interesting code here. */

    ERR(suites.WorldTransformSuite1()->copy(in_data->effect_ref,
    &params[SKELETON_INPUT]->u.ld,
    output,
    NULL,
    NULL));

    return err;
    }

    First: What is the ERR mackro doing? There is no description in SDK.
    Second: What is WorldTransformSuite1() and what is it doing? I’v never see write : function->member_function, so it’s looks like WorldTransformSuite1() is stucture initialization, however, in the class of object suites isn’t any declaration of this structure/function.
    Could someone explain it to me?

    PS. Sorry for my english, I hope that i didn’t do too many mistakes.

    Jagi88 replied 19 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy