MixerTransition<TMixer, TParameter> 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["ManualMixerTransition<TMixer>"] Base0-->Base1["AnimancerTransition<TMixer>"] Base1-->Base2["Object"] Type-.->Interface0["ITransition<TMixer>"] Type-.->Interface1["ITransitionDetailed"] click Interface1 "/animancer-v7-4/api/Animancer/ITransitionDetailed" Type-.->Interface2["ITransitionWithEvents"] click Interface2 "/animancer-v7-4/api/Animancer/ITransitionWithEvents" Type-.->Interface3["ITransition"] click Interface3 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface4["IHasKey"] click Interface4 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface5["IPolymorphic"] click Interface5 "/animancer-v7-4/api/Animancer/IPolymorphic" Type-.->Interface6["IHasEvents"] click Interface6 "/animancer-v7-4/api/Animancer/IHasEvents" Type-.->Interface7["ICopyable<AnimancerTransition<TMixer>>"] Type-.->Interface8["IMotion"] click Interface8 "/animancer-v7-4/api/Animancer/IMotion" Type-.->Interface9["IAnimationClipCollection"] click Interface9 "/animancer-v7-4/api/Animancer/IAnimationClipCollection" Type-.->Interface10["ICopyable<ManualMixerTransition<TMixer>>"] Type-.->Interface11["ICopyable<MixerTransition<TMixer, TParameter>>"] Type["MixerTransition<TMixer, TParameter>"] class Type type-node Derived0["LinearMixerTransition"]-->Type click Derived0 "/animancer-v7-4/api/Animancer/LinearMixerTransition" Derived1["MixerTransition2D"]-->Type click Derived1 "/animancer-v7-4/api/Animancer/MixerTransition2D"

Syntax

[Serializable]
public abstract class MixerTransition<TMixer, TParameter> : ManualMixerTransition<TMixer>, 
    ITransition<TMixer>, ITransitionDetailed, ITransitionWithEvents, ITransition, IHasKey, 
    IPolymorphic, IHasEvents, ICopyable<AnimancerTransition<TMixer>>, IMotion, 
    IAnimationClipCollection, ICopyable<ManualMixerTransition<TMixer>>, 
    ICopyable<MixerTransition<TMixer, TParameter>>
    where TMixer : MixerState<TParameter>

Remarks

Documentation: Transitions

Attributes

Type Description
SerializableAttribute

Type Parameters

Name Description
TMixer
TParameter

Fields

Name Constant Value Summary
DefaultParameterField _DefaultParameter
The name of the serialized backing field of Animancer.MixerTransition`2.DefaultParameter.
static
ThresholdsField _Thresholds
The name of the serialized backing field of Animancer.MixerTransition`2.Thresholds.
static

Properties

Name Value Summary
DefaultParameter TParameter
[UnityEngine.SerializeField] The initial parameter value to give the mixer when it is first created.
Thresholds TParameter[]
[UnityEngine.SerializeField] The parameter values at which each of the states are used and blended.

Methods

Name Value Summary
CopyFrom(MixerTransition<TMixer, TParameter>) void
Copies the contents of `copyFrom` into this object, replacing its previous contents.
InitializeState() void
Initializes the Animancer.AnimancerTransition`1.State immediately after it is created.