Format
typescript
Texture.mipmapBiasclass: Texture
Description
The Mipmap bias of the texture.
The Mipmap bias value is a parameter used to adjust the selection of Mipmap levels for rendering. By adjusting the bias value, different Mipmap levels can be selected for texture rendering, resulting in better rendering performance and quality at different distances and angles.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
number | The Mipmap bias of the texture. |
Code Example
typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.mipmapBias;