Code: Select all
class InterpSetting { real BezierOutAngle(int32 component); void SetBezierOutAngle(int32 component, real angle); real BezierOutPercentage(int32 component); void SetBezierOutPercentage(int32 component, real percent); int32 interpMode; ... };
Code: Select all
class AnimChannel { void SetKeyInterp(int32 when, InterpSetting &interp); void SetKeyInterpByID(int32 id, InterpSetting &interp); void GetKeyInterp(int32 when, InterpSetting &interp); void GetKeyInterpByID(int32 id, InterpSetting &interp); ... };
So we count now with a new class called "InterpSetting" with some functions on it that seems designed to work in conjunction with the old "AnimChannel" ones (?), but I'm simply not able to figure out the way to combine them to simply get, for example, the "BezierOutAngle" of certain Bezier key. My logic says me that the new class should be "child" or intended to communicate with keyframes themselves, but it's like if there be something different on this or some elements/arguments that I don't get to place or even understand. And yeah, I'm afraid it will be like an embarrassing trifle once revealed, but I've been trial & erroring during hours and (although I kinda like that) I think it's already driving me (more) crazy, so any help on this would be greatly appreciated. Plus... well, it's for a good cause
Greetings & thanks in advance,
Ramón López.