TimedAnimation.setDuration

void setDuration(uint duration)

Sets the duration of self.

If the animation repeats more than once, sets the duration of one iteration.

Parameters

durationthe duration to use, in milliseconds