Animation definition used in Legacy animation controller More...
Public Member Functions | |
bool | Init (Animation ani) |
This should be called before using any of the other functions of this class. You should specify to which animation this clip (animation definition) belongs More... | |
bool | Play () |
Play the animation More... | |
bool | CrossFade () |
Crossfade the animation More... | |
Public Attributes | |
string | clipName |
name of clip | |
bool | reverse = false |
should it play in reverse? | |
float | playbackSpeed = 1f |
how fast should it play | |
WrapMode | wrapMode = WrapMode.Loop |
wrap mode to use | |
Properties | |
bool | IsValid [get] |
Is animation valid? Use after Init() More... | |
float | ClipLength [get] |
Length of the clip More... | |
Animation definition used in Legacy animation controller
bool plyGame.LegacyAnimClipDef.CrossFade | ( | ) |
Crossfade the animation
bool plyGame.LegacyAnimClipDef.Init | ( | Animation | ani | ) |
This should be called before using any of the other functions of this class. You should specify to which animation this clip (animation definition) belongs
bool plyGame.LegacyAnimClipDef.Play | ( | ) |
Play the animation
|
get |
Length of the clip
|
get |
Is animation valid? Use after Init()