@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
25 lines • 807 B
TypeScript
export default MeshPreview;
declare class MeshPreview extends View<HTMLElement> {
/**
*
* @param {string} url
* @param {AssetManager} assetManager
* @param hooks
* @param {boolean} [allowRotationY = true]
* @param {boolean} [allowRotationX = true]
* @param {string|null} [animation = 'Idle'] Animation to play
* @constructor
*/
constructor({ url, assetManager, hooks, allowRotationY, allowRotationX, animation }: string);
renderer: import("three").WebGLRenderer;
scene: any;
camera: any;
el: Element;
__addInteraction: (el: any, mesh: any) => void;
pContents: Promise<any>;
__update_renderer_size(): void;
isRendering: boolean;
render(): void;
}
import View from "../View.js";
//# sourceMappingURL=MeshPreview.d.ts.map