UNPKG

@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.

20 lines (16 loc) 418 B
let exportingStack: number = 0; /** @internal */ export function __isExporting(state: boolean) { if (state) { exportingStack++; } else { exportingStack--; } } /** * Returns whether an export process is currently running. * @returns True if an export process is currently running, false otherwise. */ export function isExporting() { return exportingStack > 0; }