AnimationPlayer.play

Plays the animation with key name. Custom blend times and speed can be set. If custom_speed is negative and from_end is true, the animation will play backwards (which is equivalent to calling playBackwards). The AnimationPlayer keeps track of its current or last played animation with assignedAnimation. If this method is called with that same animation name, or with no name parameter, the assigned animation will resume playing if it was paused, or restart if it was stopped (see stop for both pause and stop). If the animation was already playing, it will keep playing. Note: The animation will be updated the next time the AnimationPlayer is processed. If other variables are updated at the same time this is called, they may be updated too early. To perform the update immediately, call advance(0).

struct AnimationPlayer
@nogc nothrow
void
play
(
in String name = gs!""
,
in double custom_blend = -1
,
in double custom_speed = 1
,
in bool from_end = false
)

Meta