Copyright © 2003-2010 MultiMedia Soft

AnimGetFramesRate method

Previous pageReturn to chapter overviewNext page

Remarks

Gets the current frames rate of the animation expressed in milliseconds.

This method can be used only with the Ctl3dPictureBox control and if an animation is currently loaded.

 

Syntax

 

[Visual Basic]

Public Function AnimGetFramesRate() as Short

 

[C#]

public short AnimGetFramesRate();

 

[C++]

public: short AnimGetFramesRate();

 

 

Return value

 

Value

Meaning

 

 

-1

An error occurred, probably because no animation was actually loaded.

value >= 0

The current frames rate expressed in milliseconds.