Player for Unity animation clip. Path must be in animation ressources folder.
More...
|
| AnimationClipPlayer (string path, Animator animator) |
|
override void | PlayAnimation (bool fromStart=true) |
| Check if animation is ready to play and start playing.
|
|
override void | UpdatePose (float deltaTime=0) |
|
override void | UpdateAnimation () |
| Called every frame.
|
|
override void | ClearAnimation () |
|
override float | GetDuration () |
|
override float | GetCurrentTime () |
|
override void | SetCurrentTime (float time) |
|
override void | PauseAnimation () |
|
| AvatarReadyAnimationPlayer (string path, Animator animator) |
| Create a player for a type of animation.
|
|
void | UpdatePose (float deltaTime=0) |
| Update pose of the avatar. If logic needs to run every frame while the animation is playing, set it here.
|
|
void | ClearAnimation () |
| Called before ending the player. Is called when on behaviour's OnDisable or when player is changed.
|
|
float | GetDuration () |
| Get duration of the Animation.
|
|
float | GetCurrentTime () |
| Get current time of the animation.
|
|
void | SetCurrentTime (float time) |
| Set the current time of the animation.
|
|
void | PauseAnimation () |
| Pause the animation being played.
|
|
|
PlayableGraph | Graph |
|
bool | IsInitialized |
|
bool | IsPlaying |
|
bool | IsLoop |
|
|
override bool | SetupAnimation () |
|
override void | LoopAnimation () |
|
override void | SetAnimationAtStart () |
|
bool | SetupAnimation () |
| Fetch animation asset and get things ready for play.
|
|
void | SetAnimationAtStart () |
| Set the animation at start.
|
|
void | LoopAnimation () |
| Check if animation has finished and/or set animation at start.
|
|
|
AnimationClip | Clip [get] |
|
string | Path [get] |
|
|
AnimationClip | clip |
|
AnimationClipPlayable | clipPlayable |
|
|
string | path |
|
Animator | animator |
|
Player for Unity animation clip. Path must be in animation ressources folder.
◆ PlayAnimation()
override void Inria.Avatar.AvatarReady.AnimationClipPlayer.PlayAnimation |
( |
bool | fromStart = true | ) |
|
|
inlinevirtual |
◆ UpdateAnimation()
override void Inria.Avatar.AvatarReady.AnimationClipPlayer.UpdateAnimation |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file:
- AvatarReadyAnimationPlayer.cs