threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
13 lines • 548 B
TypeScript
import { Mesh } from 'three';
import { IDisposable } from 'ts-browser-helpers';
import { IMaterial, ITexture, IWebGLRenderer } from '../../core';
export declare class MaterialPreviewGenerator implements IDisposable {
private _scene;
private _channel;
private _lights;
constructor();
dispose(): void;
shapes: Record<string, Mesh>;
generate(material: IMaterial, renderer: IWebGLRenderer, environment?: ITexture | null, shape?: string): string;
}
//# sourceMappingURL=../../src/three/utils/MaterialPreviewGenerator.d.ts.map