Summary
Calls
Animancer.AnimancerNode.OnStartFade
and starts fading the Animancer.AnimancerNode.Weight
over the course
of the Animancer.AnimancerPlayable.DefaultFadeDuration
(in seconds).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerNode
Syntax
public void StartFade(float targetWeight)
Remarks
If the `targetWeight` is 0 then
Animancer.AnimancerNode.Stop
will be called when the fade is complete.
If the Animancer.AnimancerNode.Weight
is already equal to the `targetWeight` then the fade will end
immediately.
Parameters
Name | Type | Description |
---|---|---|
targetWeight | float |
Return Value
Type | Description |
---|---|
void |