DarkBASIC Professional Help File

DX11 GET ANIMATION FRAME COUNT

Retrieves the number of key frames in the given Animation instance.
Note that this will retrieve the maximum amount of frames for any animation channel (single bone/joint/limb animation data); in most circumstances there will be as many
frames in each channel but this is not a strict necessity.

Syntax

    Return Dword = DX11 GET ANIMATION FRAME COUNT(anim)

Parameters

    anim

> Dword
> The animation to retrieve the number of frames of.

Returns

The number of key frames of the given animation.

See also

ANIMATION Functions Menu
DX11 Function Categories