Skip to content

格式

typescript
Texture.GenerateMipmaps()

所属类: Texture

描述

生成mipmap。

参数

参数名类型描述

返回值

类型描述
boolean生成是否成功

代码示例

typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.GenerateMipmaps();