Summary
Starts a transition from the current state to the specified state using times in seconds.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Hybrid
Animancer Component
Syntax
public void CrossFadeInFixedTime(int stateNameHash, float fadeDuration = -1, int layer = -1, float fixedTime = 0)
Remarks
If `fadeDuration` is negative, it uses the
Animancer.AnimancerGraph.DefaultFadeDuration
.Parameters
Name | Type | Description |
---|---|---|
stateNameHash | int | |
fadeDuration | float | |
layer | int | |
fixedTime | float |
Return Value
Type | Description |
---|---|
void |