Skip to content

Format

typescript
Texture.mipmapBias

class: 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_nametypedescription

Return

typedescription
numberThe Mipmap bias of the texture.

Code Example

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