Version: 2022.1
public int width ;

描述

渲染纹理的宽度(以像素为单位)。

注意,与 Texture.width 属性不同,您可以读取和写入该属性 - 设置值会更改大小。

See Also:: height, format, depth.