setTime method

dynamic setTime(
  1. dynamic timeInSeconds
)

Implementation

setTime(timeInSeconds) {
  time = 0; // Zero out time attribute for AnimationMixer object;
  for (var i = 0; i < _actions.length; i++) {
    _actions[i].time = 0; // Zero out time attribute for all associated AnimationAction objects.

  }

  return update(timeInSeconds); // Update used to set exact time. Returns "this" AnimationMixer object.
}