跳转到内容

ScreenScalingData

此内容尚不支持你的语言。

Defined in: camera/ScreenScaling.ts:26

designHeight: number

Defined in: camera/ScreenScaling.ts:30

Design (reference) resolution height in px.


designWidth: number

Defined in: camera/ScreenScaling.ts:28

Design (reference) resolution width in px — the horizontal reference the fit uses.


matchWidthOrHeight: number

Defined in: camera/ScreenScaling.ts:34

Match-mode blend 0..1 (0 = fit width, 1 = fit height); ignored for other modes.


scaleMode: number

Defined in: camera/ScreenScaling.ts:32

A CanvasScaleMode (FixedWidth=0 … Match=4), or SCREEN_FIT_OFF (-1).