How do I read the interpolation mode of an anim channel?
Posted: Sat Dec 16, 2006 3:15 pm
While there are two functions to set the interpolation of an animation channel, there seems to be no function to get the interpolation mode.
and but no
Has anyone found a way around this for copying keys from one switch layer into another?
This would be nice if you want to switch several switch layers, controlled by a single master switch layer. I can set the keys in the slaves, but not their interpolation values (in particular, cycle interpolation).
Code: Select all
void SetKeyInterp(when, interpMode, val1, val2)
Code: Select all
void SetKeyInterpByID(id, interpMode, val1, val2)
Code: Select all
(interpMode, val1, val2) = GetInterp(when)
This would be nice if you want to switch several switch layers, controlled by a single master switch layer. I can set the keys in the slaves, but not their interpolation values (in particular, cycle interpolation).