MixerState.

MixerState.Transition2D Class

Summary

A serializable Animancer.ITransition which can create a Animancer.CartesianMixerState or Animancer.DirectionalMixerState when passed into Animancer.AnimancerPlayable.Play(Animancer.ITransition).
graph BT Type-->Base0["MixerState.Transition<MixerState<Vector2>, Vector2>"] Base0-->Base1["ManualMixerState.Transition<MixerState<Vector2>>"] Base1-->Base2["AnimancerState.Transition<MixerState<Vector2>>"] Base2-->Base3["Object"] Type-.->Interface0["ITransitionDetailed"] click Interface0 "/animancer/api/Animancer/ITransitionDetailed" Type-.->Interface1["ITransition"] click Interface1 "/animancer/api/Animancer/ITransition" Type-.->Interface2["IHasKey"] click Interface2 "/animancer/api/Animancer/IHasKey" Type-.->Interface3["IAnimationClipCollection"] click Interface3 "/animancer/api/Animancer/IAnimationClipCollection" Type["MixerState.Transition2D"] class Type type-node

Syntax

[Serializable]
public class MixerState.Transition2D : MixerState.Transition<MixerState<Vector2>, Vector2>, 
    ITransitionDetailed, ITransition, IHasKey, IAnimationClipCollection

Remarks

Documentation: Transitions

Documentation: Mixers

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Type MixerState.Transition2D.MixerType
[UnityEngine.SerializeField] The type of Animancer.MixerState that this transition will create.

Methods

Name Value Summary
CreateState() MixerState<Vector2>
Creates and returns a new Animancer.CartesianMixerState or Animancer.DirectionalMixerState depending on the Animancer.MixerState.Transition2D.Type.