Function cameraToWorldDistance

  • Parameters

    • distance: number

      Distance from the camera (range: [0, 1]).

    • camera: Camera

      Camera applying the perspective projection.

    Returns number

    Deprecated

    Translates a linear distance value [0..1], where 1 is the distance to the far plane, into [0..cameraFar].

Generated using TypeDoc