Свойство | Type | Description | |
---|---|---|---|
keyFrameEvents | Dictionary |
Свойство | Type | Description |
---|
Méthode | 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.
|
Méthode | 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. /// |
Résultat |
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. /// |
Résultat |
public AnimationBase ( string name ) : System | ||
name | string | Name of this instance. |
Résultat | System |
public ClearKeyFrameEvents ( string animation ) : |
||
animation | string | /// The animation name. /// |
Résultat |
public PlayAnimation ( string name ) : void | ||
name | string | /// The name of the animation. /// |
Résultat | void |
public PlayAnimation ( string name, bool loop ) : void | ||
name | string | /// The name of the animation. /// |
loop | bool |
/// if set to |
Résultat | 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 |
Résultat | 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. /// |
Résultat | 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 |
Résultat | void |