Static createStatic expressionLoad tasks of each expression.
Static jsonStatic live2DModelMiddlewares to run through when setting up a Live2DModel.
Static motionload tasks of each motion. The structure of each value in this map is the same as respective definitions.
Static runtimesAll registered runtimes, sorted by versions in descending order.
Static setupStatic setupStatic urlStatic waitStatic findFinds a runtime that matches given source.
The Live2DRuntime, or undefined if not found.
Either a settings JSON object or a ModelSettings instance.
Static loadLoads an Expression and registers the task to expressionTasksMap. The task will be automatically canceled when its owner - the ExpressionManager instance - has been destroyed.
Promise that resolves with the Expression, or with undefined if it can't be loaded.
ExpressionManager that owns this Expression.
Index of the Expression.
Static loadLoads a Motion and registers the task to motionTasksMap. The task will be automatically canceled when its owner - the MotionManager instance - has been destroyed.
Promise that resolves with the Motion, or with undefined if it can't be loaded.
MotionManager that owns this Motion.
The motion group.
Index in the motion group.
Static registerRegisters a Live2DRuntime.
Static releaseStatic setupSets up a Live2DModel, populating it with all defined resources.
Promise that resolves when all resources have been loaded, rejects when error occurs.
The Live2DModel instance.
Can be one of: settings file URL, settings JSON object, ModelSettings instance.
Optional options: Live2DFactoryOptionsOptions for the process.
Generated using TypeDoc
Handles all the network load tasks.