LogoPixi’VN
coreInterfaces

Interface: Live2DTextureLODOptions

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:3973

Extended by

Properties

lod?

> optional lod?: Live2DTextureLODMode

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:3983

Selects the atlas LOD strategy for model textures.

full is the default and uses Pixi's mipmap generation for the original atlas. single-auto creates one downsampled atlas on demand and switches to it while rendering small models. false disables both paths.

Default

'full'

lodFilter?

> optional lodFilter?: Live2DTextureLODFilter

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4019

Sampling filter used while drawing the generated single-auto atlas.

Ignored unless lod is 'single-auto'.

Default

'linear'

lodMaxLevel?

> optional lodMaxLevel?: number

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4011

Maximum generated single-auto LOD level. Each level halves the atlas width and height once, so level 1 is 1/2 size and level 2 is 1/4 size.

Ignored unless lod is 'single-auto'.

Default

undefined

lodScaleThreshold?

> optional lodScaleThreshold?: number

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:3993

Effective screen scale below which single-auto can switch to a generated downsampled atlas. The effective scale is computed from model world scale and renderer resolution.

Ignored unless lod is 'single-auto'.

Default

0.5

lodTextureSizeThreshold?

> optional lodTextureSizeThreshold?: number

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4002

Minimum original atlas side length required before single-auto considers generating a downsampled atlas.

Ignored unless lod is 'single-auto'.

Default

4096

On this page