Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Understanding plug-ins writing

New Here ,
Jul 26, 2006 Jul 26, 2006
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.
TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 01, 2006 Aug 01, 2006
LATEST
ERR() is defined in AE_Macros.h; basically, it says "if err is currently 0 (no error), then err equals..." whatever is in the ERR().

AEGP_SuiteHandler is a big utility function for acquiring and releasing function suites. WorldTransformSuite is defined in AE_EffectCBSuites.h.

The "Find Definition" function in your IDE should be of assistance.

As always, feel free to write to me directly.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines