Summary
Starts a transition from the current state to the specified state using normalized times.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Hybrid
Animancer Component
Syntax
public AnimancerState CrossFade(string stateName, float fadeDuration = -1, int layer = -1, float normalizedTime = -Infinity)
Remarks
If `fadeDuration` is negative, it uses the
Animancer.AnimancerGraph.DefaultFadeDuration
.Parameters
Name | Type | Description |
---|---|---|
stateName | string | |
fadeDuration | float | |
layer | int | |
normalizedTime | float |
Return Value
Type | Description |
---|---|
AnimancerState |