Skip to content

格式

typescript
RenderViewport.width

所属类: RenderViewport

描述

(只读)当前渲染视口的宽度。

参数

参数名类型描述

返回值

类型描述
number渲染视口的宽度

代码示例