Documentation
    Preparing search index...

    Function angleFromDisplay

    • 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)).

      Parameters

      • displayed: number

        the authored value, in units.angle

      • units: UnitSystem

        the declared system

      Returns number

      radians (ยง7a)