Home Reference Source

References

summary
public

The main entry point, which is ...

public

F PlatformManager(null: *): Structure

Define the variable type of PlatformManager

public

F captureFrame(callback: Function): null

Capture current frame to png file

public

F theRealInit(emitter: *): null

Main function of live2d-widget

public

F cManager(eventemitter: *)

public

F cModel()

public

Create the canvas and styles using DOM

public

Get current script path

public

V cDefine: {"VIEW_LOGICAL_LEFT": *, "VIEW_LOGICAL_RIGHT": number, "VIEW_LOGICAL_MAX_LEFT": *, "VIEW_LOGICAL_MAX_RIGHT": number, "VIEW_LOGICAL_MAX_BOTTOM": *, "VIEW_LOGICAL_MAX_TOP": number, "PRIORITY_NONE": *, "PRIORITY_IDLE": number, "PRIORITY_NORMAL": number, "PRIORITY_FORCE": number, "MOTION_GROUP_IDLE": string, "MOTION_GROUP_TAP_BODY": string, "MOTION_GROUP_FLICK_HEAD": string, "MOTION_GROUP_PINCH_IN": string, "MOTION_GROUP_PINCH_OUT": string, "MOTION_GROUP_SHAKE": string, "HIT_AREA_HEAD": string, "HIT_AREA_BODY": string}

The definitions of values releated to model react

public

V currWebGL: RenderingContext

The current WebGL element

config

summary
public

F configApplyer(userConfig: Object): null

Apply users function, make the full settings

lib

summary
public

F EYE_STATE()

public
public
public
public
public
public

F L2DModelMatrix(w: *, h: *)

public
public

F L2DPartsParam(id: *)

public
public

F L2DPose()

public
public
public

utils

summary
public

A matrix stack releated to draw the model

public

F ModelSettingJson(null: *): Structure

return the struct of ModelSettingJson

Directories