LinearMixerTransition Class

Summary

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

Syntax

[Serializable]
public class LinearMixerTransition : MixerTransition<LinearMixerState, float>, ITransitionDetailed, 
    ITransitionWithEvents, IHasEvents, ICopyable<AnimancerTransition<LinearMixerState>>, IMotion, 
    IAnimationClipCollection, ICopyable<ManualMixerTransition<LinearMixerState>>, 
    ICopyable<MixerTransition<LinearMixerState, float>>, LinearMixerState.ITransition, 
    ITransition<LinearMixerState>, ITransition, IHasKey, IPolymorphic, 
    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 Animancer.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?

Methods

Name Value Summary
Apply(AnimancerState) void
Called by Animancer.AnimancerPlayable.Play(Animancer.ITransition) to apply any modifications to the `state`.
CopyFrom(LinearMixerTransition) 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.