Variable: config
> const config: object
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4655
Global configs.
Type Declaration
cubism
> cubism: typeof CubismFrameworkConfig
expressionFadingDuration
> expressionFadingDuration: number
Default fading duration for expressions without such value specified.
fftSize
> fftSize: number
fftSize for sound analyzer for lipsync. Must be a power of 2 between 2^5 and 2^15, so one of: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, and 32768.
Default
512idleMotionFadingDuration
> idleMotionFadingDuration: number
Default fading duration for idle motions without such value specified.
LOG_LEVEL_ERROR
> LOG_LEVEL_ERROR: number
LOG_LEVEL_NONE
> LOG_LEVEL_NONE: number
LOG_LEVEL_VERBOSE
> LOG_LEVEL_VERBOSE: number
LOG_LEVEL_WARNING
> LOG_LEVEL_WARNING: number
logLevel
> logLevel: number
Global log level.
Default
config.LOG_LEVEL_WARNINGmotionFadingDuration
> motionFadingDuration: number
Default fading duration for motions without such value specified.
motionSync
> motionSync: boolean
Deferring motion and corresponding sound until both are loaded.
preserveExpressionOnMotion
> preserveExpressionOnMotion: boolean
If false, expression will be reset to default when playing non-idle motions.
sound
> sound: boolean
Enabling sound for motions.