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.

11 lines (10 loc) 416 B
import { Texture, Vector4 } from "three"; declare type TextureMap = { [name: string]: { texture: Texture; scale?: Vector4; }; }; type MeshPhysicalNodeMaterial = import("three/src/materials/nodes/MeshPhysicalNodeMaterial.js").default; declare function buildNodeMaterial(nodeMaterial: MeshPhysicalNodeMaterial, materialName: string, textures: TextureMap): string; export { buildNodeMaterial };