Stores a reference to an animation, a target for that animation and a Abacus.timer
object which will call AnimationState.step
. On instantiation the timer object will be created if not provided.
Parameters:
- options - dictionary with the following values
- animation <Abacus.animation>
- target <object>
- timer <Abacus.timer> [optional]
Sample an animation at time time
onto target
.
Parameters:
- animation - parent animation objet
- target - target object
- time <number> - time value to sample
- state [optional] - state object for things like speeding up frame lookup
sample: function( animation, target, time, state || undefined ) { return null; }
I'm not sure if this is some kind of Z proprietary shorthand?