collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
Animations Properties

gradient
The
Animations type exposes the following members.

collapse_allProperties

 

Name

Description

pubproperty

CurrentAnimationID

Get / Set the Current Animation being used. The Animation is started at its beginning.

NOTE: If an invalid Animiation ID is given when Setting, the Animation will not be changed.

NOTE: If an Animation has not beeng set yet when Getting, -1 is returned.

pubproperty

CurrentAnimationIsDonePlaying

Get if the Current Animation is Done Playing or not (i.e. Its Number Of Times Played is greater than or equal to its Number Of Times To Play). Returns true even if no Animation has been set to Play yet.

pubproperty

CurrentAnimationsNumberOfTimesPlayed

Get / Set the Number of times the Current Animation has Played already.

NOTE: If no Animation has been set yet, Get returns -1, and Set doesn't change anything.

pubproperty

CurrentAnimationsNumberOfTimesToPlay

Get / Set the Number of times the Current Animation should Play (it replays when the end of the Animation is reached). Specify a value of zero to have the Animation repeat forever.

NOTE: If no Animation has been set yet, no changes are made when Setting, and -1 is returned when Getting.

pubproperty

CurrentAnimationsPictureRotationOrderIndex

Get / Set the Current Index in the Current Animation's Picture Rotation Order.

NOTE: If no Animation has been set yet, Get returns -1, and Set doesn't change anything (as well as if the specified Index is invalid).

pubproperty

CurrentAnimationsPictureRotationTime

Get / Set how much Time should elapsed before switching frames in the Current Animation.

NOTE: If no Animation has been set yet, zero will be returned.

pubproperty

CurrentPicturesTextureCoordinates

Get the Rectangle representing the Texture Coordinates of the Picture in the Animation that should be displayed at this point in time

pubproperty

Paused

Get / Set if the Animation should be Paused or not. If Paused, the Animation will not be Updated.

pubproperty

TimeRequiredToPlayCurrentAnimation

Gets the amount of Time (in seconds) required to play the Current Animation.

NOTE: If no Animation has been played yet, zero is returned.

pubproperty

TimeRequiredToPlayTheRestOfTheCurrentAnimation

Gets the amount of Time (in seconds) required to play the remainder of the Current Animation.

NOTE: If no Animation has been played yet, zero is returned.

collapse_allSee Also

Animations Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com