ITransitionDetailed Interface

Summary

An Animancer.ITransition with some additional details (mainly for the Unity Editor GUI).
graph BT Type-.->Interface0["ITransition"] click Interface0 "/animancer/api/Animancer/ITransition" Type-.->Interface1["IHasKey"] click Interface1 "/animancer/api/Animancer/IHasKey" Type-.->Interface2["IPolymorphic"] click Interface2 "/animancer/api/Animancer/IPolymorphic" Type["ITransitionDetailed"] class Type type-node Implementing0["ClipTransitionSequence"]-.->Type click Implementing0 "/animancer/api/Animancer/ClipTransitionSequence" Implementing1["TransitionAsset"]-.->Type click Implementing1 "/animancer/api/Animancer/TransitionAsset" Implementing2["ManualMixerTransition<TMixer>"]-.->Type click Implementing2 "/animancer/api/Animancer/ManualMixerTransition_1" Implementing3["NamedClipTransition"]-.->Type click Implementing3 "/animancer/api/Animancer.Samples.Layers/NamedClipTransition" Implementing4["PlayableAssetTransition"]-.->Type click Implementing4 "/animancer/api/Animancer/PlayableAssetTransition" Implementing5["DirectionalClipTransition"]-.->Type click Implementing5 "/animancer/api/Animancer/DirectionalClipTransition" Implementing6["TransitionAsset<TTransition>"]-.->Type click Implementing6 "/animancer/api/Animancer/TransitionAsset_1" Implementing7["Transition<TState>"]-.->Type click Implementing7 "/animancer/api/Animancer/Transition_1" Implementing8["ControllerTransition"]-.->Type click Implementing8 "/animancer/api/Animancer/ControllerTransition" Implementing9["ClipTransition"]-.->Type click Implementing9 "/animancer/api/Animancer/ClipTransition" Implementing10["MixerTransition2D"]-.->Type click Implementing10 "/animancer/api/Animancer/MixerTransition2D" Implementing11["TransitionAssetReference"]-.->Type click Implementing11 "/animancer/api/Animancer/TransitionAssetReference" Implementing12["LinearMixerTransition"]-.->Type click Implementing12 "/animancer/api/Animancer/LinearMixerTransition" Implementing13["MixerTransition<TMixer, TParameter>"]-.->Type click Implementing13 "/animancer/api/Animancer/MixerTransition_2" Implementing14["ManualMixerTransition"]-.->Type click Implementing14 "/animancer/api/Animancer/ManualMixerTransition" Implementing15["ControllerTransition<TState>"]-.->Type click Implementing15 "/animancer/api/Animancer/ControllerTransition_1" Implementing16["TransitionAssetBase"]-.->Type click Implementing16 "/animancer/api/Animancer/TransitionAssetBase"

Syntax

public interface ITransitionDetailed : ITransition, IHasKey, IPolymorphic

Remarks

Documentation: Transitions

Properties

Name Value Summary
IsLooping bool
What will the value of Animancer.AnimancerState.IsLooping be for the created state?
IsValid bool
Can this transition create a valid Animancer.AnimancerState?
MaximumDuration float
The maximum amount of time the animation is expected to take (in seconds).
NormalizedStartTime float
The Animancer.AnimancerState.NormalizedTime to start the animation at.
Speed float
The Animancer.AnimancerNodeBase.Speed to play the animation at.

Extension Methods

Name Value Summary
CreateStateAndApply(AnimancerGraph) 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.
IsValid() bool
Is the `transition` not null and Animancer.ITransitionDetailed.IsValid?
TryGetFadeDuration() float
Returns the Animancer.ITransition.FadeDuration or System.Single.NaN if it throws an exception.