Animancer v6.0 is currently available for testing.

ITransitionDetailed Interface

Summary

An Animancer.ITransition with some additional details 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["ITransitionDetailed"] class Type type-node Implementing0["LinearMixerState.Transition"]-.->Type click Implementing0 "/animancer/api/Animancer/Transition" Implementing1["Float2ControllerState.Transition"]-.->Type click Implementing1 "/animancer/api/Animancer/Transition" Implementing2["ManualMixerState.Transition"]-.->Type click Implementing2 "/animancer/api/Animancer/Transition" Implementing3["Float1ControllerState.Transition"]-.->Type click Implementing3 "/animancer/api/Animancer/Transition" Implementing4["ManualMixerState.Transition<TMixer>"]-.->Type click Implementing4 "/animancer/api/Animancer/Transition_1" Implementing5["Float3ControllerState.Transition"]-.->Type click Implementing5 "/animancer/api/Animancer/Transition" Implementing6["AnimancerState.Transition<TState>"]-.->Type click Implementing6 "/animancer/api/Animancer/Transition_1" Implementing7["MixerState.Transition2D"]-.->Type click Implementing7 "/animancer/api/Animancer/Transition2D" Implementing8["RootMotion.MotionTransition"]-.->Type click Implementing8 "/animancer/api/Animancer.Examples.Locomotion/MotionTransition" Implementing9["MixerState.Transition<TMixer, TParameter>"]-.->Type click Implementing9 "/animancer/api/Animancer/Transition_2" Implementing10["PlayableAssetState.Transition"]-.->Type click Implementing10 "/animancer/api/Animancer/Transition" Implementing11["ControllerState.Transition"]-.->Type click Implementing11 "/animancer/api/Animancer/Transition" Implementing12["ControllerState.Transition<TState>"]-.->Type click Implementing12 "/animancer/api/Animancer/Transition_1" Implementing13["ClipState.Transition"]-.->Type click Implementing13 "/animancer/api/Animancer/Transition"

Syntax

public interface ITransitionDetailed : ITransition, IHasKey

Properties

Name Value Summary
IsLooping bool
Indicates what the value of Animancer.AnimancerState.IsLooping will be for the created state.
IsValid bool
Indicates whether this transition can create a valid Animancer.AnimancerState.
MainObject Object
The Animancer.AnimancerState.MainObject that the created state will have.
MaximumDuration float
The maximum amount of time the animation is expected to take (in seconds).
NormalizedStartTime float
Determines what Animancer.AnimancerState.NormalizedTime to start the animation at.
Speed float
Determines how fast the animation plays (1x = normal speed).

Methods

Name Value Summary
AddItemsToContextMenu(GenericMenu, SerializedProperty) void
[Editor-Only] Adds context menu functions for this transition.

Extension Methods

Name Value Summary
CreateStateAndApply(AnimancerPlayable) AnimancerState
Calls Animancer.ITransition.CreateState and Animancer.ITransition.Apply(Animancer.AnimancerState).
IsValid() bool
Returns true if the `node` is not null and Animancer.ITransitionDetailed.IsValid.