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,
¶ms[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.