timeScale property

double get timeScale

Multiplier for the delta time when the animation state is updated, causing time for all animations and mixes to play slower or faster. Defaults to 1.

See TrackEntry TrackEntry::getTimeScale() for affecting a single animation.

Implementation

double get timeScale {
  final result = SpineBindings.bindings.spine_animation_state_get_time_scale(_ptr);
  return result;
}
set timeScale (double value)

Implementation

set timeScale(double value) {
  SpineBindings.bindings.spine_animation_state_set_time_scale(_ptr, value);
}