@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
12 lines (11 loc) • 383 B
TypeScript
import { Object3D } from "three";
import type { Context } from "../../engine_setup.js";
declare type ExportOptions = {
context: Context;
scene?: Object3D | Array<Object3D>;
binary?: boolean;
animations?: boolean;
downloadAs?: string;
};
export declare function exportAsGLTF(_opts: ExportOptions): Promise<ArrayBuffer | Record<string, any>>;
export {};