Converts an authored angle in the declared display unit to engine radians.
This is the call that belongs between a form field and an engine API: node.rotateZ(angleFromDisplay(input.valueAsNumber, units)).
node.rotateZ(angleFromDisplay(input.valueAsNumber, units))
the authored value, in units.angle
units.angle
the declared system
radians (ยง7a)
Converts an authored angle in the declared display unit to engine radians.
This is the call that belongs between a form field and an engine API:
node.rotateZ(angleFromDisplay(input.valueAsNumber, units)).