LogoPixi’VN
coreInterfaces

Interface: Live2DModelOptions

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

Extends

Extended by

Properties

anchorMode?

> optional anchorMode?: "canvas" | "drawable"

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

Defines which bounds are used to resolve the normalized Live2DModel.anchor. 'canvas' preserves the historical model-canvas behavior, while 'drawable' resolves the anchor against the visible drawable bounds.

Default

'canvas'

autoFocus?

> optional autoFocus?: boolean

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

Automatically update the focus position when globalpointermove event is triggered.

Default

true

Inherited from

AutomatorOptions.autoFocus


autoHitTest?

> optional autoHitTest?: boolean

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

Automatically hit-test the model when pointertap event is triggered.

Default

true

Inherited from

AutomatorOptions.autoHitTest


autoInteract?

> optional autoInteract?: boolean

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

Should the internal model automatically reacts to interactions by listening for pointer events.

Default

true

Deprecated

since v0.5.0, reading/writing this property is equivalent to reading/writing autoHitTest && autoFocus.

Inherited from

AutomatorOptions.autoInteract


autoUpdate?

> optional autoUpdate?: boolean

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

Should the internal model be automatically updated by PIXI.Ticker.shared.

Default

ture

Inherited from

AutomatorOptions.autoUpdate


breathDepth?

> optional breathDepth?: number

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

Define natural movements depth (0.0-1.0).

Default

1.0

Inherited from

InternalModelOptions.breathDepth


checkMotionConsistency?

> optional checkMotionConsistency?: boolean

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

Whether to validate motion3.json consistency when creating motions.

Default

false

Inherited from

InternalModelOptions.checkMotionConsistency


> optional eyeBlink?: boolean

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

Whether to enable automatic eye blinking between motions.

Default

true

Inherited from

InternalModelOptions.eyeBlink


idleMotionGroup?

> optional idleMotionGroup?: string

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

Specifies the idle motion group.

Default

"idle" in Cubism 2 and "Idle" in Cubism 4.

Inherited from

InternalModelOptions.idleMotionGroup


lipSyncGain?

> optional lipSyncGain?: number

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

Gain multiplier applied to the analyzed mouth-sync input value.

Default

1.5

Inherited from

InternalModelOptions.lipSyncGain


lipSyncWeight?

> optional lipSyncWeight?: number

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

Blend weight used when adding lip-sync values to mouth parameters.

Default

0.4

Inherited from

InternalModelOptions.lipSyncWeight


motionPreload?

> optional motionPreload?: MotionPreloadStrategy

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

How to preload the motions.

Default

MotionPreloadStrategy.NONE

Inherited from

InternalModelOptions.motionPreload


textureOptions?

> optional textureOptions?: Live2DTextureSourceOptions

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

Texture loading and atlas LOD options for this model.

See Live2DTextureLODOptions for the available lod strategies.

Default

{ lod: 'full' }

ticker?

> optional ticker?: Ticker

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

The ticker to be used for automatic updates.

Default

PIXI.Ticker.shared from the global PIXI namespace.

Inherited from

AutomatorOptions.ticker


useHighPrecisionMask?

> optional useHighPrecisionMask?: boolean | "auto"

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

Whether to use Cubism's high precision clipping mask rendering. Only supported by Cubism 3/4/5 models.

Default

'auto'

Inherited from

InternalModelOptions.useHighPrecisionMask

On this page