Summary
A serializable
Animancer.ITransition which can create a particular type of
Animancer.AnimancerState when passed into Animancer.AnimancerLayer.Play(Animancer.ITransition).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
- Base Types
-
- Object
- Transition
<TMixer>
- Derived Types
graph BT
Type-->Base0["Transition<TMixer>"]
Base0-->Base1["Object"]
Type-.->Interface0["ITransition<TMixer>"]
Type-.->Interface1["ITransition"]
click Interface1 "/animancer/api/Animancer/ITransition"
Type-.->Interface2["IHasEvents"]
click Interface2 "/animancer/api/Animancer/IHasEvents"
Type-.->Interface3["IHasKey"]
click Interface3 "/animancer/api/Animancer/IHasKey"
Type-.->Interface4["IPolymorphic"]
click Interface4 "/animancer/api/Animancer/IPolymorphic"
Type-.->Interface5["ICopyable<Transition<TMixer>>"]
Type-.->Interface6["ICloneable<Transition<TMixer>>"]
Type-.->Interface7["IMotion"]
click Interface7 "/animancer/api/Animancer/IMotion"
Type-.->Interface8["IAnimationClipCollection"]
click Interface8 "/animancer/api/Animancer/IAnimationClipCollection"
Type-.->Interface9["ICopyable<ManualMixerTransition<TMixer>>"]
Type["ManualMixerTransition<TMixer>"]
class Type type-node
Derived0["ManualMixerTransition"]-->Type
click Derived0 "/animancer/api/Animancer/ManualMixerTransition"
Derived1["MixerTransition<TMixer, TParameter>"]-->Type
click Derived1 "/animancer/api/Animancer/MixerTransition_2"
Syntax
[Serializable]
public abstract class ManualMixerTransition<TMixer> : Transition<TMixer>, ITransition<TMixer>,
ITransition, IHasEvents, IHasKey, IPolymorphic, ICopyable<Transition<TMixer>>,
ICloneable<Transition<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.ITransition] Are any of the Animancer.ManualMixerTransition`1.Animations looping? |
| IsValid | bool |
Are all
Animancer.ManualMixerTransition`1.Animations assigned? |
| MaximumLength | float |
The maximum expected value of the
Animancer.AnimancerState.Length. |
| Speeds | float[] |
[
UnityEngine.SerializeField]
The 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 |
Applies the details of this transition to the `state`.
|
| CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
| CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
| InitializeState |
void |
Initializes the
Animancer.Transition`1.State immediately after it is created. |