UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

17 lines (16 loc) 393 B
import MdxModel from '../mdx/model'; import MdxModelInstance from '../mdx/modelinstance'; import War3MapViewerMap from './map'; export declare enum WidgetState { IDLE = 0, WALK = 1 } /** * A widget. */ export declare class Widget { instance: MdxModelInstance; state: WidgetState; constructor(map: War3MapViewerMap, model: MdxModel); update(): void; }