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

8 lines (7 loc) 617 B
import "./codegen/register_types.js"; import { SerializationContext } from "./engine_serialization_core.js"; import { Context } from "./engine_setup.js"; import type { IComponent, SourceIdentifier, UIDProvider } from "./engine_types.js"; import { NEEDLE_components } from "./extensions/NEEDLE_components.js"; export declare function writeBuiltinComponentData(comp: IComponent, context: SerializationContext): object | null; export declare function createBuiltinComponents(context: Context, gltfId: SourceIdentifier, gltf: any, seed?: number | null | UIDProvider, extension?: NEEDLE_components): Promise<void>;