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.

13 lines (12 loc) 587 B
import { Material, Object3D, Texture } from "three"; import { GLTFParser, GLTFReference } from "three/examples/jsm/loaders/GLTFLoader.js"; export declare function resolveReferences(parser: GLTFParser, obj: object | string): Promise<any>; /** * Utility method to check if two materials were created from the same glTF material */ export declare function compareAssociation<T extends Material>(obj1: T, obj2: T): boolean; /** * Setting * @hidden */ export declare function maskGltfAssociation(obj: Object3D | Material | Texture | GLTFReference, identifier: string): void;