ITransition<TState> Interface

Summary

An Animancer.ITransition which creates a specific type of Animancer.AnimancerState.
graph BT Type-.->Interface0["ITransition"] click Interface0 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface1["IHasKey"] click Interface1 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface2["IPolymorphic"] click Interface2 "/animancer-v7-4/api/Animancer/IPolymorphic" Type["ITransition<TState>"] class Type type-node Implementing0["Float2ControllerTransitionAsset.UnShared"]-.->Type click Implementing0 "/animancer-v7-4/api/Animancer/UnShared" Implementing1["MixerTransition2DAsset.UnShared"]-.->Type click Implementing1 "/animancer-v7-4/api/Animancer/UnShared" Implementing2["Float2ControllerTransition"]-.->Type click Implementing2 "/animancer-v7-4/api/Animancer/Float2ControllerTransition" Implementing3["ManualMixerState.ITransition"]-.->Type click Implementing3 "/animancer-v7-4/api/Animancer/ITransition" Implementing4["AnimancerTransition<TState>"]-.->Type click Implementing4 "/animancer-v7-4/api/Animancer/AnimancerTransition_1" Implementing5["ClipState.ITransition"]-.->Type click Implementing5 "/animancer-v7-4/api/Animancer/ITransition" Implementing6["MixerTransition<TMixer, TParameter>"]-.->Type click Implementing6 "/animancer-v7-4/api/Animancer/MixerTransition_2" Implementing7["ManualMixerTransition"]-.->Type click Implementing7 "/animancer-v7-4/api/Animancer/ManualMixerTransition" Implementing8["ControllerTransitionAsset.UnShared"]-.->Type click Implementing8 "/animancer-v7-4/api/Animancer/UnShared" Implementing9["ManualMixerTransitionAsset.UnShared"]-.->Type click Implementing9 "/animancer-v7-4/api/Animancer/UnShared" Implementing10["ClipTransitionAsset.UnShared"]-.->Type click Implementing10 "/animancer-v7-4/api/Animancer/UnShared" Implementing11["ControllerState.ITransition"]-.->Type click Implementing11 "/animancer-v7-4/api/Animancer/ITransition" Implementing12["RootMotion.MotionTransition"]-.->Type click Implementing12 "/animancer-v7-4/api/Animancer.Examples.Locomotion/MotionTransition" Implementing13["AnimancerTransitionAssetBase.UnShared<TAsset, TTransition, TState>"]-.->Type click Implementing13 "/animancer-v7-4/api/Animancer/UnShared_3" Implementing14["PlayableAssetTransition"]-.->Type click Implementing14 "/animancer-v7-4/api/Animancer/PlayableAssetTransition" Implementing15["LinearMixerState.ITransition"]-.->Type click Implementing15 "/animancer-v7-4/api/Animancer/ITransition" Implementing16["Float2ControllerState.ITransition"]-.->Type click Implementing16 "/animancer-v7-4/api/Animancer/ITransition" Implementing17["ControllerTransition"]-.->Type click Implementing17 "/animancer-v7-4/api/Animancer/ControllerTransition" Implementing18["Float3ControllerTransitionAsset.UnShared"]-.->Type click Implementing18 "/animancer-v7-4/api/Animancer/UnShared" Implementing19["ControllerTransition<TState>"]-.->Type click Implementing19 "/animancer-v7-4/api/Animancer/ControllerTransition_1" Implementing20["PlayableAssetState.ITransition"]-.->Type click Implementing20 "/animancer-v7-4/api/Animancer/ITransition" Implementing21["ManualMixerTransition<TMixer>"]-.->Type click Implementing21 "/animancer-v7-4/api/Animancer/ManualMixerTransition_1" Implementing22["LinearMixerTransitionAsset.UnShared"]-.->Type click Implementing22 "/animancer-v7-4/api/Animancer/UnShared" Implementing23["Float1ControllerTransitionAsset.UnShared"]-.->Type click Implementing23 "/animancer-v7-4/api/Animancer/UnShared" Implementing24["DirectionalClipTransition"]-.->Type click Implementing24 "/animancer-v7-4/api/Animancer/DirectionalClipTransition" Implementing25["ClipTransitionSequence"]-.->Type click Implementing25 "/animancer-v7-4/api/Animancer/ClipTransitionSequence" Implementing26["LinearMixerTransition"]-.->Type click Implementing26 "/animancer-v7-4/api/Animancer/LinearMixerTransition" Implementing27["Float1ControllerState.ITransition"]-.->Type click Implementing27 "/animancer-v7-4/api/Animancer/ITransition" Implementing28["Float1ControllerTransition"]-.->Type click Implementing28 "/animancer-v7-4/api/Animancer/Float1ControllerTransition" Implementing29["PlayableAssetTransitionAsset.UnShared"]-.->Type click Implementing29 "/animancer-v7-4/api/Animancer/UnShared" Implementing30["Float3ControllerTransition"]-.->Type click Implementing30 "/animancer-v7-4/api/Animancer/Float3ControllerTransition" Implementing31["ClipTransition"]-.->Type click Implementing31 "/animancer-v7-4/api/Animancer/ClipTransition" Implementing32["Float3ControllerState.ITransition"]-.->Type click Implementing32 "/animancer-v7-4/api/Animancer/ITransition" Implementing33["MixerTransition2D"]-.->Type click Implementing33 "/animancer-v7-4/api/Animancer/MixerTransition2D" Implementing34["ManualMixerState.ITransition2D"]-.->Type click Implementing34 "/animancer-v7-4/api/Animancer/ITransition2D"

Syntax

public interface ITransition<TState> : ITransition, IHasKey, IPolymorphic 
    where TState : AnimancerState

Remarks

Documentation: Transitions

Type Parameters

Name Description
TState

Properties

Name Value Summary
State TState
The state that was created by this object. Specifically, this is the state that was most recently passed into Animancer.ITransition.Apply(Animancer.AnimancerState) (usually by Animancer.AnimancerPlayable.Play(Animancer.ITransition)).

Methods

Name Value Summary
CreateState() TState
Creates and returns a new TState.

Extension Methods

Name Value Summary
CreateStateAndApply(AnimancerPlayable) AnimancerState
[Animancer Extension] Calls Animancer.ITransition.CreateState and Animancer.ITransition.Apply(Animancer.AnimancerState).
IsValid() bool
Returns the Animancer.ITransitionDetailed.IsValid with support for Animancer.IWrapper.