@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.
14 lines (13 loc) • 673 B
TypeScript
/** Load the codegen meta file.
* @param {string | null} path
* @returns {Promise<import("../types/needleConfig").needleMeta | null>}
*/
export function loadConfig(path?: string | null): Promise<import("../types/needleConfig").needleMeta | null>;
/** get the needle.config.json
* @returns {import("../types/needleConfig").needleConfig | null}
*/
export function tryLoadProjectConfig(): import("../types/needleConfig").needleConfig | null;
/** "assets" -> the directory name inside the output directory to put e.g. glb files into */
export function builtAssetsDirectory(): string;
/** @returns the fullpath of the build */
export function getOutputDirectory(): string;