DarkBASIC Professional Help File

DX11 REVERSE ANIMATION

Animations can be played forward, as "normal", or in reverse.
Using this function you can set whether the given animation should be played forwards or backwards.
Calling this with a true argument for an already reversed animation will not re-reverse it.
If you set an animation to play from a higher to a lower frame number or extract a sub-animation in the same way
this will automatically flag that animation as being played in reverse. This behaviour can be changed using this function if desired.

Syntax

    DX11 REVERSE ANIMATION anim, [reverse]

Parameters

    anim

> Dword
> The animation to set whether to play in reverse.

    [Optional] reverse

> Boolean
> Set to true to play the animation in reverse or false to play it forwards as normal. Defaults to true if omitted.

Returns

This function does not return a value.

See also

ANIMATION Functions Menu
DX11 Function Categories