MixerTransition2D Class

Summary

A serializable Animancer.ITransition which can create a particular type of Animancer.AnimancerState when passed into Animancer.AnimancerLayer.Play(Animancer.ITransition).
graph BT Type-->Base0["MixerTransition<Vector2MixerState, Vector2>"] Base0-->Base1["ManualMixerTransition<Vector2MixerState>"] Base1-->Base2["Transition<Vector2MixerState>"] Base2-->Base3["Object"] Type-.->Interface0["ITransition<Vector2MixerState>"] Type-.->Interface1["ITransitionDetailed"] click Interface1 "/animancer/api/Animancer/ITransitionDetailed" Type-.->Interface2["ITransitionWithEvents"] click Interface2 "/animancer/api/Animancer/ITransitionWithEvents" Type-.->Interface3["ITransition"] click Interface3 "/animancer/api/Animancer/ITransition" Type-.->Interface4["IHasKey"] click Interface4 "/animancer/api/Animancer/IHasKey" Type-.->Interface5["IPolymorphic"] click Interface5 "/animancer/api/Animancer/IPolymorphic" Type-.->Interface6["IHasEvents"] click Interface6 "/animancer/api/Animancer/IHasEvents" Type-.->Interface7["ICopyable<Transition<Vector2MixerState>>"] Type-.->Interface8["ICloneable<Transition<Vector2MixerState>>"] Type-.->Interface9["IMotion"] click Interface9 "/animancer/api/Animancer/IMotion" Type-.->Interface10["IAnimationClipCollection"] click Interface10 "/animancer/api/Animancer/IAnimationClipCollection" Type-.->Interface11["ICopyable<ManualMixerTransition<Vector2MixerState>>"] Type-.->Interface12["ICopyable<MixerTransition<Vector2MixerState, Vector2>>"] Type-.->Interface13["ICopyable<MixerTransition2D>"] Type["MixerTransition2D"] class Type type-node

Syntax

[Serializable]
public class MixerTransition2D : MixerTransition<Vector2MixerState, Vector2>, 
    ITransition<Vector2MixerState>, ITransitionDetailed, ITransitionWithEvents, ITransition, 
    IHasKey, IPolymorphic, IHasEvents, ICopyable<Transition<Vector2MixerState>>, 
    ICloneable<Transition<Vector2MixerState>>, IMotion, IAnimationClipCollection, 
    ICopyable<ManualMixerTransition<Vector2MixerState>>, 
    ICopyable<MixerTransition<Vector2MixerState, Vector2>>, ICopyable<MixerTransition2D>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Fields

Name Constant Value Summary
TypeField _Type
The name of the serialized backing field of Animancer.MixerTransition2D.Type.
static

Properties

Name Value Summary
ParameterNameX StringAsset
[UnityEngine.SerializeField] The Animancer.Vector2MixerState.ParameterNameX.
ParameterNameY StringAsset
[UnityEngine.SerializeField] The Animancer.Vector2MixerState.ParameterNameY.
Type MixerTransition2D.MixerType
[UnityEngine.SerializeField] The type of Animancer.ManualMixerState that this transition will create.

Methods

Name Value Summary
CreateState() Vector2MixerState
Creates and returns a new state depending on the Animancer.MixerTransition2D.Type.