This is the old Animancer v7.4 documentation. Click here for the latest version.

UnitsAttributeDrawer.

GetDisplayValue(float, float) Method

Summary

Returns the value that should be displayed for a given field.
Assembly
Animancer.dll
Namespace
Animancer.Units.Editor
Containing Type
UnitsAttributeDrawer

Syntax

public static float GetDisplayValue(float value, float defaultValue)

Parameters

Name Type Description
value float
defaultValue float

Return Value

Type Description
float