Documentation
    Preparing search index...

    Function worldLengthToMeters

    • The SI value of a world length, independent of the display selector.

      This is the §40 scale factor applied on its own — what §101's "unit application in simulation" will read when @fourjs/physics checks §41's 1e5-length-unit precision envelope in SI terms, and what an engineering readout wants when it must report metres regardless of what the inspector is currently showing.

      Parameters

      • worldUnits: number

        the engine value

      • units: UnitSystem

        the declared system

      Returns number

      metres