Reference Image parameters in a FxGenerator
Reference Image parameters in a FxGenerator
- Subject: Reference Image parameters in a FxGenerator
- From: Brian Gardner <email@hidden>
- Date: Mon, 23 Mar 2009 11:00:32 -0700
Just as a sanity check....
I'm writing an FxGenerator plugin for FCP/Motion.
It has a reference image parameter, and the parameter shows up okay.
I can assign a source video to the parameter okay in FCP & Motion.
But, when I try to access the image in renderOutput,
the request fails.
Can I access a reference image in an FxGenerator?
(Or is that forbidden)
If I can, do I use the same parmsApi request as I
would in a Filter or Transition type plugin...
or is there something different required in a Generator plugin?
-- Brian
PS: Small code clippette looks like:
FxBitmap * controlImageMap;
double offsetX = 0, offsetY = 0;
BOOL isControlImageAssigned =
[parmsApi getBitmap:&controlImageMap
layerOffsetX:&offsetX
layerOffsetY:&offsetY
requestInfo:renderInfo
fromParm:kControlImageParamID
atTime:renderInfo.frame];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden