LinearMixerTransition 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<LinearMixerState, float>"] Base0-->Base1["ManualMixerTransition<LinearMixerState>"] Base1-->Base2["Transition<LinearMixerState>"] Base2-->Base3["Object"] Type-.->Interface0["ITransition<LinearMixerState>"] 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<LinearMixerState>>"] Type-.->Interface8["ICloneable<Transition<LinearMixerState>>"] Type-.->Interface9["IMotion"] click Interface9 "/animancer/api/Animancer/IMotion" Type-.->Interface10["IAnimationClipCollection"] click Interface10 "/animancer/api/Animancer/IAnimationClipCollection" Type-.->Interface11["ICopyable<ManualMixerTransition<LinearMixerState>>"] Type-.->Interface12["ICopyable<MixerTransition<LinearMixerState, float>>"] Type-.->Interface13["ICopyable<LinearMixerTransition>"] Type["LinearMixerTransition"] class Type type-node

Syntax

[Serializable]
public class LinearMixerTransition : MixerTransition<LinearMixerState, float>, 
    ITransition<LinearMixerState>, ITransitionDetailed, ITransitionWithEvents, ITransition, 
    IHasKey, IPolymorphic, IHasEvents, ICopyable<Transition<LinearMixerState>>, 
    ICloneable<Transition<LinearMixerState>>, IMotion, IAnimationClipCollection, 
    ICopyable<ManualMixerTransition<LinearMixerState>>, 
    ICopyable<MixerTransition<LinearMixerState, float>>, ICopyable<LinearMixerTransition>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
ExtrapolateSpeed bool
[UnityEngine.SerializeField] Should setting the Animancer.MixerState`1.Parameter above the highest threshold increase the AnimancerNode.Speed of the mixer proportionally?
IsValid bool
Are all Animancer.ManualMixerTransition`1.Animations assigned and Animancer.MixerTransition`2.Thresholds unique and sorted in ascending order?
ParameterName StringAsset
[UnityEngine.SerializeField] The Animancer.LinearMixerState.ParameterName.

Methods

Name Value Summary
Apply(AnimancerState) void
Clone(CloneContext) Transition<LinearMixerState>
Creates a new object with the same type and values this.
CopyFrom(LinearMixerTransition, CloneContext) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
CopyFrom(MixerTransition<LinearMixerState, float>, CloneContext) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
CreateState() LinearMixerState
Creates and returns a new TState.
SortByThresholds() void
Sorts all states so that their thresholds go from lowest to highest.