Summary
Determines how
Animancer.AnimancerLayer.Play(Animancer.AnimancerState,System.Single,Animancer.FadeMode) works.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- Enum
graph BT
Type-->Base0["Enum"]
Type["FadeMode"]
class Type type-node
Syntax
public enum FadeMode
Remarks
Documentation:
Fade Modes
Sample:
Transitions
Fields
| Name | Constant Value | Summary |
|---|---|---|
| FixedDuration | 1 |
Calculate the fade speed to bring the
Animancer.AnimancerNode.Weight to the target value over the
specified fade duration (in seconds).
static
|
| FixedSpeed | 0 |
Calculate the fade speed to bring the
Animancer.AnimancerNode.Weight
from 0 to 1 over the specified fade duration (in seconds),
regardless of the actual starting weight.
static
|
| FromStart | 2 |
If the
Animancer.AnimancerNode.Weight is above the Animancer.AnimancerLayer.WeightlessThreshold,
this mode will use Animancer.AnimancerLayer.GetOrCreateWeightlessState(Animancer.AnimancerState) to get a copy of it that is at 0
weight so it can fade the copy in while the original fades out with all other states. This allows an
animation to fade into itself.
static
|
| NormalizedDuration | 4 |
Like
Animancer.FadeMode.FixedDuration, except that the fade duration is multiplied by the animation length.
static
|
| NormalizedFromStart | 5 |
Like
Animancer.FadeMode.FromStart, except that the fade duration is multiplied by the animation length.
static
|
| NormalizedSpeed | 3 |
Like
Animancer.FadeMode.FixedSpeed, except that the fade duration is multiplied by the animation length.
static
|