Property | Type | Description | |
---|---|---|---|
keyFrameEvents | Dictionary |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddKeyFrameEvent ( string animation, int keyFrame ) : |
Adds a key frame event to a given animation.
|
|
AddKeyFrameEvent ( string animation, int keyFrame, string tag ) : |
Adds a key frame event to a given animation.
|
|
AnimationBase ( string name ) : System |
Initializes a new instance of the AnimationBase class.
|
|
ClearKeyFrameEvents ( string animation ) : |
Clears all the key frame events of a given animation.
|
|
PlayAnimation ( string name ) : void |
Plays the animation.
|
|
PlayAnimation ( string name, bool loop ) : void |
Plays the animation.
|
|
PlayAnimation ( string name, bool loop, bool backwards ) : void |
Plays the animation.
|
|
PlayAnimation ( string name, int startFrame, int endFrame ) : void |
Plays the animation between the specified frames.
|
|
PlayAnimation ( string name, int startFrame, int endFrame, bool loop, bool backwards ) : void |
Plays the animation between the specified frames.
|
|
ResumeAnimation ( ) : void |
Resume the animation.
|
|
StopAnimation ( ) : void |
Stops the animation.
|
Method | Description | |
---|---|---|
DefaultValues ( ) : void |
The default values
|
public AddKeyFrameEvent ( string animation, int keyFrame ) : |
||
animation | string | /// The animation name. /// |
keyFrame | int | /// The key frame when the event will be raised. /// |
return |
public AddKeyFrameEvent ( string animation, int keyFrame, string tag ) : |
||
animation | string | /// The animation name. /// |
keyFrame | int | /// The key frame when the event will be raised. /// |
tag | string | /// The tag associated with the event. /// |
return |
public AnimationBase ( string name ) : System | ||
name | string | Name of this instance. |
return | System |
public ClearKeyFrameEvents ( string animation ) : |
||
animation | string | /// The animation name. /// |
return |
public PlayAnimation ( string name ) : void | ||
name | string | /// The name of the animation. /// |
return | void |
public PlayAnimation ( string name, bool loop ) : void | ||
name | string | /// The name of the animation. /// |
loop | bool |
/// if set to |
return | void |
public PlayAnimation ( string name, bool loop, bool backwards ) : void | ||
name | string | /// The name of the animation. /// |
loop | bool |
/// if set to |
backwards | bool |
/// if set to |
return | void |
public PlayAnimation ( string name, int startFrame, int endFrame ) : void | ||
name | string | /// The name of the animation. /// |
startFrame | int | /// The frame where the animation starts playing. /// |
endFrame | int | /// The last frame of the animation to play. /// |
return | void |
public abstract PlayAnimation ( string name, int startFrame, int endFrame, bool loop, bool backwards ) : void | ||
name | string | /// The name of the animation. /// |
startFrame | int | /// The frame where the animation starts playing. /// |
endFrame | int | /// The last frame of the animation to play. /// |
loop | bool |
/// if set to |
backwards | bool |
/// if set to |
return | void |