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.

23 lines (22 loc) 813 B
import { Object3D } from "three"; import { USDObject, USDWriter, USDZExporterContext } from "./ThreeUSDZExporter.js"; /** * Interface for USDZ Exporter Extensions used by {@link USDZExporter} */ export interface IUSDExporterExtension { /** * The name of the extension */ get extensionName(): string; /** * Called before the document is built */ onBeforeBuildDocument?(context: USDZExporterContext): any; /** * Called after the document is built */ onAfterBuildDocument?(context: USDZExporterContext): any; onExportObject?(object: Object3D, model: USDObject, context: USDZExporterContext): any; onAfterSerialize?(context: USDZExporterContext): any; onAfterHierarchy?(context: USDZExporterContext, writer: USDWriter): any; }