AnimancerEditorUtilities.

CalculateEditorFadeDuration(AnimancerNode, float) Method

Summary

[Animancer Extension] [Editor-Only] Returns the duration of the `node`s current fade (if any), otherwise returns the `defaultDuration`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerEditorUtilities

Syntax

public static float CalculateEditorFadeDuration(this AnimancerNode node, float defaultDuration = 1)

Parameters

Name Type Description
node AnimancerNode
defaultDuration float

Return Value

Type Description
float