Skip to content

editorViewHalfHeight

editorViewHalfHeight(view): number

Defined in: camera/EditorView.ts:84

Half-height, in world units, of what the view sees on the z = 0 plane — where 2D content lives and where the grid, the framing and the minimap all measure.

Orthographically this IS orthoSize. In perspective the visible extent is the frustum’s cross-section at the focus plane, tan(fov/2) · distance — merely proportional to the zoom value, not equal to it. Everything that needs “how much world is on screen” asks here rather than reading orthoSize, which answers for one of the two projections and silently mis-scales the other.

EditorViewData

number