@tomiaa/live2d
Version:
15 lines (14 loc) • 378 B
TypeScript
import type { Application, IApplicationOptions } from "pixi.js";
/**
* PIXI 应用管理器
*/
export declare class PIXIManager {
/**
* 创建 PIXI 应用
*/
static create(canvas: HTMLCanvasElement, options?: IApplicationOptions): Application;
/**
* 创建 Canvas 元素
*/
static createCanvas(container: HTMLElement): HTMLCanvasElement;
}