Not applicable
04-08-2021
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. I have a question about using fbxsdk.
How can I create AnimationCurveNode for FilmWidth and FilmHeight for FbxCamera? I would expect to use something like:
auto curve = camera->FilmWidth.GetCurve(pAnimLayer, true);
auto index = curve->KeyAdd(pTime);
curve->KeySetValue(index, value);
That works for FocalLength but not for FilmWidth.
Documentation says that those properties are read-only and function void SetApertureWidth(double pWidth) should be used instead. However I do not understand how can I create keys with different values. And I know that's possible because Maya can export fbx files with animated film size.
Solved! Go to Solution.
Link copied