keyValue() and keyTime()
Posted: June 1st, 2005, 7:22 am
Why do keyValue() and keyTime() both return the time of the key? Either I'm reading the Scripting Guide wrong or there's an error in it. Look at page 131 and 141. They both say:
Returns
Floating-point value; the time at which the keyframe or marker occurs.
I need to get a value from a keyframe and change it. I was trying use keyValue to retrieve the value and then use setValueAtKey() to store it again on the key. I'm getting problems. Is there a better workflow?
Returns
Floating-point value; the time at which the keyframe or marker occurs.
I need to get a value from a keyframe and change it. I was trying use keyValue to retrieve the value and then use setValueAtKey() to store it again on the key. I'm getting problems. Is there a better workflow?