LogoPixi’VN
coreInterfaces

Interface: TextureLODPlanInput

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

Extends

Properties

effectiveScale

> effectiveScale: number

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


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'

Inherited from

Live2DTextureLODOptions.lod


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'

Inherited from

Live2DTextureLODOptions.lodFilter


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

Inherited from

Live2DTextureLODOptions.lodMaxLevel


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

Inherited from

Live2DTextureLODOptions.lodScaleThreshold


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

Inherited from

Live2DTextureLODOptions.lodTextureSizeThreshold


textureHeight

> textureHeight: number

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


textureWidth

> textureWidth: number

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

On this page