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
Parameters
Section titled “Parameters”baseOrthoSize
Section titled “baseOrthoSize”number
designAspect
Section titled “designAspect”number
actualAspect
Section titled “actualAspect”number
scaleMode
Section titled “scaleMode”number
matchWidthOrHeight
Section titled “matchWidthOrHeight”number
Returns
Section titled “Returns”number
scaleMode. orthoForWidth is the half-height that
makes the design width exactly fit; orthoForHeight the design height.