threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
13 lines • 526 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=MaterialPreviewGenerator.d.ts.map