Method | Description | |
---|---|---|
AddAnimation ( string name, Pokemon3D.Common.Animations.Animation animation ) : void |
Registeres new animation.
|
|
AddTransition ( string sourceName, string targetName ) : void |
Registers transition between animation
|
|
AddTransitionChain ( string sourceName, string targetName ) : void |
Adds a list of Animations to play in a list.
|
|
Animator ( ) : System |
Creates Animator.
|
|
RemoveAnimation ( string sourceName ) : void |
Removes an Animation by name.
|
|
SetAnimation ( string name, bool playReversed = false ) : void |
Sets current animation and starts it.
|
|
Stop ( ) : void | ||
Update ( |
Updates Animator.
|
public AddAnimation ( string name, Pokemon3D.Common.Animations.Animation animation ) : void | ||
name | string | name of animation |
animation | Pokemon3D.Common.Animations.Animation | Object |
return | void |
public AddTransition ( string sourceName, string targetName ) : void | ||
sourceName | string | Source Animation Name |
targetName | string | Target Animation Name |
return | void |
public AddTransitionChain ( string sourceName, string targetName ) : void | ||
sourceName | string | Source Animation Name |
targetName | string | Target Animation Name |
return | void |
public RemoveAnimation ( string sourceName ) : void | ||
sourceName | string | |
return | void |
public SetAnimation ( string name, bool playReversed = false ) : void | ||
name | string | Name of animation |
playReversed | bool | Plays the animation backwards. |
return | void |
public Update ( |
||
gameTime | ||
return | void |