Summary
An object which can create an
Animancer.AnimancerState
and set its details.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Implementing Types
-
- Clip
Transition Sequence - TransitionAsset
- ITransitionDetailed
- Manual
Mixer Transition <TMixer> - NamedClipTransition
- ITransition
<TState> - Playable
Asset Transition - Directional
Clip Transition - TransitionAsset
<TTransition> - Transition
<TState> - ControllerTransition
- ClipTransition
- MixerTransition2D
- Transition
Asset Reference - Linear
Mixer Transition - MixerTransition
<TMixer, TParameter> - Manual
Mixer Transition - I
Transition With Events - ControllerTransition
<TState> - TransitionAssetBase
- Clip
graph BT
Type-.->Interface0["IHasKey"]
click Interface0 "/animancer/api/Animancer/IHasKey"
Type-.->Interface1["IPolymorphic"]
click Interface1 "/animancer/api/Animancer/IPolymorphic"
Type["ITransition"]
class Type type-node
Implementing0["ClipTransitionSequence"]-.->Type
click Implementing0 "/animancer/api/Animancer/ClipTransitionSequence"
Implementing1["TransitionAsset"]-.->Type
click Implementing1 "/animancer/api/Animancer/TransitionAsset"
Implementing2["ITransitionDetailed"]-.->Type
click Implementing2 "/animancer/api/Animancer/ITransitionDetailed"
Implementing3["ManualMixerTransition<TMixer>"]-.->Type
click Implementing3 "/animancer/api/Animancer/ManualMixerTransition_1"
Implementing4["NamedClipTransition"]-.->Type
click Implementing4 "/animancer/api/Animancer.Samples.Layers/NamedClipTransition"
Implementing5["ITransition<TState>"]-.->Type
click Implementing5 "/animancer/api/Animancer/ITransition_1"
Implementing6["PlayableAssetTransition"]-.->Type
click Implementing6 "/animancer/api/Animancer/PlayableAssetTransition"
Implementing7["DirectionalClipTransition"]-.->Type
click Implementing7 "/animancer/api/Animancer/DirectionalClipTransition"
Implementing8["TransitionAsset<TTransition>"]-.->Type
click Implementing8 "/animancer/api/Animancer/TransitionAsset_1"
Implementing9["Transition<TState>"]-.->Type
click Implementing9 "/animancer/api/Animancer/Transition_1"
Implementing10["ControllerTransition"]-.->Type
click Implementing10 "/animancer/api/Animancer/ControllerTransition"
Implementing11["ClipTransition"]-.->Type
click Implementing11 "/animancer/api/Animancer/ClipTransition"
Implementing12["MixerTransition2D"]-.->Type
click Implementing12 "/animancer/api/Animancer/MixerTransition2D"
Implementing13["TransitionAssetReference"]-.->Type
click Implementing13 "/animancer/api/Animancer/TransitionAssetReference"
Implementing14["LinearMixerTransition"]-.->Type
click Implementing14 "/animancer/api/Animancer/LinearMixerTransition"
Implementing15["MixerTransition<TMixer, TParameter>"]-.->Type
click Implementing15 "/animancer/api/Animancer/MixerTransition_2"
Implementing16["ManualMixerTransition"]-.->Type
click Implementing16 "/animancer/api/Animancer/ManualMixerTransition"
Implementing17["ITransitionWithEvents"]-.->Type
click Implementing17 "/animancer/api/Animancer/ITransitionWithEvents"
Implementing18["ControllerTransition<TState>"]-.->Type
click Implementing18 "/animancer/api/Animancer/ControllerTransition_1"
Implementing19["TransitionAssetBase"]-.->Type
click Implementing19 "/animancer/api/Animancer/TransitionAssetBase"
Syntax
public interface ITransition : IHasKey, IPolymorphic
Remarks
Transitions are generally used as arguments for
Animancer.AnimancerLayer.Play(Animancer.ITransition)
.
Documentation:
Transitions
Properties
Name | Value | Summary |
---|---|---|
FadeDuration | float |
The amount of time this transition should take (in seconds).
|
FadeMode | FadeMode |
The
Animancer.FadeMode which should be used when this transition is passed into
Animancer.AnimancerLayer.Play(Animancer.ITransition) .
|
Methods
Name | Value | Summary |
---|---|---|
Apply |
void |
Applies the details of this transition to the `state`.
|
CreateState |
AnimancerState |
Creates and returns a new
Animancer.AnimancerState defuned by this transition. |
Extension Methods
Name | Value | Summary |
---|---|---|
CreateStateAndApply |
AnimancerState |
[Animancer Extension] Calls
Animancer.ITransition.CreateState and Animancer.ITransition.Apply(Animancer.AnimancerState) .From AnimancerUtilities
|
IsValid |
bool |
Returns the
Animancer.ITransitionDetailed.IsValid with support for Animancer.IWrapper .From AnimancerUtilities
|
TryGetFadeDuration |
float |
Returns the
Animancer.ITransition.FadeDuration
or System.Single.NaN if it throws an exception.
From AnimancerUtilities
|