editorViewWorldPerPixel
editorViewWorldPerPixel(
view,heightPx,at?):number
Defined in: camera/EditorView.ts:109
World units per screen pixel at
Parameters
Section titled “Parameters”heightPx
Section titled “heightPx”number
Returns
Section titled “Returns”number
at — what a thing drawn at a fixed number of pixels measures in the world where it stands. Orthographically the same everywhere; in perspective it grows with the distance along the view axis, which is the axis the projection divides by. Without
at, the focus answers.