◆ PlayablesHandler()
| IuvoUnity.Animations.PlayablesHandler.PlayablesHandler |
( |
PlayableGraph | graph, |
|
|
AnimationPlayableOutput | output ) |
107 {
108 this.graph = graph;
109 this.output = output;
110 }
References graph, and output.
◆ GetCurrentClip()
| AnimationClip IuvoUnity.Animations.PlayablesHandler.GetCurrentClip |
( |
| ) |
|
◆ IsPlaying()
| bool IuvoUnity.Animations.PlayablesHandler.IsPlaying |
( |
string | animationName | ) |
|
◆ Play() [1/2]
| void IuvoUnity.Animations.PlayablesHandler.Play |
( |
AnimationClip | clip | ) |
|
Implements IuvoUnity.Interfaces.IAnimationHandler.
119 {
120 if (clip == null) return;
121 if (clipPlayable.IsValid())
122 clipPlayable.Destroy();
123
124 clipPlayable = AnimationClipPlayable.Create(graph, clip);
125 output.SetSourcePlayable(clipPlayable);
126 graph.Play();
127 }
References clipPlayable, graph, and output.
◆ Play() [2/2]
| void IuvoUnity.Animations.PlayablesHandler.Play |
( |
string | animationName | ) |
|
◆ SetBlend()
| void IuvoUnity.Animations.PlayablesHandler.SetBlend |
( |
float | blendTime | ) |
|
◆ Stop()
| void IuvoUnity.Animations.PlayablesHandler.Stop |
( |
| ) |
|
◆ clipPlayable
| AnimationClipPlayable IuvoUnity.Animations.PlayablesHandler.clipPlayable |
|
private |
◆ graph
| PlayableGraph IuvoUnity.Animations.PlayablesHandler.graph |
|
private |
◆ output
| AnimationPlayableOutput IuvoUnity.Animations.PlayablesHandler.output |
|
private |
The documentation for this class was generated from the following file: