m4m.framework.DeviceInfo

@meta4d/engine / Exports / m4m / framework / DeviceInfo

Class: DeviceInfo

m4m.framework.DeviceInfo

Table of contents

Constructors

Accessors

Constructors

constructor

new DeviceInfo()

Accessors

CanvasHeight

Static get CanvasHeight(): number

canvas 高度

Returns

number

Defined in

framework/deviceInfo.ts:48


CanvasWidth

Static get CanvasWidth(): number

canvas 宽度

Returns

number

Defined in

framework/deviceInfo.ts:35


GraphDevice

Static get GraphDevice(): string

GPU类型

Returns

string

Defined in

framework/deviceInfo.ts:17


ScreenAdaptiveType

Static get ScreenAdaptiveType(): string

屏幕自适应方式

Returns

string

Defined in

framework/deviceInfo.ts:62


ScreenHeight

Static get ScreenHeight(): number

屏幕高度

Returns

number

Defined in

framework/deviceInfo.ts:82


ScreenWidth

Static get ScreenWidth(): number

屏幕宽度

Returns

number

Defined in

framework/deviceInfo.ts:75

Last updated