/** * This method sets the current time of the animation. * This method behaves differently for every known track type. * Override this method if you have your own type of track. * * @param time the time of the animation * @param blendAmount the blend amount factor * @param control the animation control * @param channel the animation channel */ void setTime(float time, float blendAmount, AnimControl control, AnimChannel channel, TempVars vars) { if (tracks == null) { return; } for (Track track : tracks) { track.setTime(time, blendAmount, control, channel, vars); } }
track.setTime(time, 1, animControl, animChannel, vars); skeleton.updateWorldVectors();
/** * This method sets the current time of the animation. * This method behaves differently for every known track type. * Override this method if you have your own type of track. * * @param time the time of the animation * @param blendAmount the blend amount factor * @param control the animation control * @param channel the animation channel */ void setTime(float time, float blendAmount, AnimControl control, AnimChannel channel, TempVars vars) { if (tracks == null) { return; } for (Track track : tracks) { track.setTime(time, blendAmount, control, channel, vars); } }
/** * This method sets the current time of the animation. * This method behaves differently for every known track type. * Override this method if you have your own type of track. * * @param time the time of the animation * @param blendAmount the blend amount factor * @param control the animation control * @param channel the animation channel */ void setTime(float time, float blendAmount, AnimControl control, AnimChannel channel, TempVars vars) { if (tracks == null) { return; } for (Track track : tracks) { track.setTime(time, blendAmount, control, channel, vars); } }