Skip to content

computeEffectiveOrthoSize

computeEffectiveOrthoSize(baseOrthoSize, designAspect, actualAspect, scaleMode, matchWidthOrHeight): number

Defined in: camera/uiLayoutRect.ts:18

Half-height (world units) of the visible area after fitting a design resolution into an actual aspect per

number

number

number

number

number

number

scaleMode. orthoForWidth is the half-height that makes the design width exactly fit; orthoForHeight the design height.