Sequine - Scripting API
|
Manages animation clips mixing in a certain layer. More...
Public Member Functions | |
SequineLayer (PlayableGraph _playableGraph, AnimationLayerMixerPlayable _layerMixerPlayable, int _layerIndex, SequinePlayer.LayerRegistry _layerRegistry) | |
SequineState | PlayAnimationClip (AnimationClip _clip, AnimationConfig _config, bool _restart=false, Action _onComplete=null) |
SequineState | PlayRangedAnimationClip (AnimationClip _clip, AnimationConfig _config, float _minTimePercentage, float _maxTimePercentage, bool _restart=false, Action _onComplete=null) |
bool | TryGetCurrentClip (out AnimationClip _clip) |
Try get the clip of the current state if not null. More... | |
bool | TryGetState (AnimationClip _clip, out SequineState _state) |
void | RemoveState (AnimationClip _clip) |
void | Tick (float _deltaTime) |
void | ExitCurrentState () |
void | Stop () |
Properties | |
string | name [get] |
SequineState | currentState [get] |
IEnumerable< SequineState > | states [get] |
float | weight [getset] |
Manages animation clips mixing in a certain layer.
Calcatz.Sequine.SequineLayer.SequineLayer | ( | PlayableGraph | _playableGraph, |
AnimationLayerMixerPlayable | _layerMixerPlayable, | ||
int | _layerIndex, | ||
SequinePlayer.LayerRegistry | _layerRegistry | ||
) |
void Calcatz.Sequine.SequineLayer.ExitCurrentState | ( | ) |
SequineState Calcatz.Sequine.SequineLayer.PlayAnimationClip | ( | AnimationClip | _clip, |
AnimationConfig | _config, | ||
bool | _restart = false , |
||
Action | _onComplete = null |
||
) |
SequineState Calcatz.Sequine.SequineLayer.PlayRangedAnimationClip | ( | AnimationClip | _clip, |
AnimationConfig | _config, | ||
float | _minTimePercentage, | ||
float | _maxTimePercentage, | ||
bool | _restart = false , |
||
Action | _onComplete = null |
||
) |
void Calcatz.Sequine.SequineLayer.RemoveState | ( | AnimationClip | _clip | ) |
void Calcatz.Sequine.SequineLayer.Stop | ( | ) |
void Calcatz.Sequine.SequineLayer.Tick | ( | float | _deltaTime | ) |
bool Calcatz.Sequine.SequineLayer.TryGetCurrentClip | ( | out AnimationClip | _clip | ) |
Try get the clip of the current state if not null.
_clip |
bool Calcatz.Sequine.SequineLayer.TryGetState | ( | AnimationClip | _clip, |
out SequineState | _state | ||
) |
|
get |
|
get |
|
get |
|
getset |