Method UnitConvertFromIncrements
UnitConvertFromIncrements(UnitType, int)
Converts a value given in unit increments to the same value expressed in the units.
Declaration
public static double UnitConvertFromIncrements(Appli.UnitType unit, int valueInIncrements)
Parameters
Type | Name | Description |
---|---|---|
Appli.UnitType | unit | |
int | valueInIncrements |
Returns
Type | Description |
---|---|
double |
Remarks
Unit increment is the smallest step that value in units (such as an object position or a scene dimension) can take. Values less than a unit increment are rounded.