Summary
A serializable
Animancer.ITransition which can create a particular type of Animancer.AnimancerState
when passed into Animancer.AnimancerPlayable.Play(Animancer.ITransition).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Base Types
-
- Object
- AnimancerTransition
<TMixer>
- Derived Types
graph BT
Type-->Base0["AnimancerTransition<TMixer>"]
Base0-->Base1["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["ManualMixerTransition<TMixer>"]
class Type type-node
Derived0["MixerTransition<TMixer, TParameter>"]-->Type
click Derived0 "/animancer-v7-4/api/Animancer/MixerTransition_2"
Derived1["ManualMixerTransition"]-->Type
click Derived1 "/animancer-v7-4/api/Animancer/ManualMixerTransition"
Syntax
[Serializable]
public abstract class ManualMixerTransition<TMixer> : AnimancerTransition<TMixer>,
ITransition<TMixer>, ITransitionDetailed, ITransitionWithEvents, ITransition, IHasKey,
IPolymorphic, IHasEvents, ICopyable<AnimancerTransition<TMixer>>, IMotion,
IAnimationClipCollection, ICopyable<ManualMixerTransition<TMixer>>
where TMixer : ManualMixerState
Remarks
Documentation: Transitions
Attributes
| Type | Description |
|---|---|
| Serializable |
Type Parameters
| Name | Description |
|---|---|
| TMixer |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| AnimationsField | _Animations |
The name of the serialized backing field of
Animancer.ManualMixerTransition`1.Animations.static
|
| SpeedsField | _Speeds |
The name of the serialized backing field of
Animancer.ManualMixerTransition`1.Speeds.static
|
| Synchronize |
_SynchronizeChildren |
The name of the serialized backing field of
Animancer.ManualMixerTransition`1.SynchronizeChildren.static
|
Properties
| Name | Value | Summary |
|---|---|---|
| Animations | Object[] |
[
UnityEngine.SerializeField] Objects that define how to create each state in the mixer. |
| AverageAngularSpeed | float |
The initial
UnityEngine.Motion.averageAngularSpeed that the created state will have. |
| AverageVelocity | Vector3 |
The initial
UnityEngine.Motion.averageSpeed that the created state will have. |
| HasSpeeds | bool |
Are there at least enough
Animancer.ManualMixerTransition`1.Speeds for each of theAnimancer.ManualMixerTransition`1.Animations? |
| IsLooping | bool |
[
Animancer.ITransitionDetailed] Are any of the Animancer.ManualMixerTransition`1.Animations looping? |
| IsValid | bool |
Are all
Animancer.ManualMixerTransition`1.Animations assigned? |
| MaximumDuration | float |
The maximum amount of time the animation is expected to take (in seconds).
|
| Speed | float |
[
UnityEngine.SerializeField]
Determines how fast the mixer plays (1x = normal speed, 2x = double speed).
|
| Speeds | float[] |
[
UnityEngine.SerializeField]
The Animancer.AnimancerNode.Speed to use for each state in the mixer.
|
| SynchronizeChildren | bool[] |
[
UnityEngine.SerializeField]
The flags to be used in Animancer.ManualMixerState.InitializeSynchronizedChildren(System.Boolean[]).
|
Methods
| Name | Value | Summary |
|---|---|---|
| Apply |
void |
Called by
Animancer.AnimancerPlayable.Play(Animancer.ITransition) to apply any modifications to the `state`.
|
| CopyFrom |
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. |