@speckle/viewer
Version:
A 3d viewer for Speckle, based on threejs.
13 lines (12 loc) • 615 B
TypeScript
import { Material, Texture, type PointsMaterialParameters } from 'three';
import type { Uniforms } from './SpeckleMaterial.js';
import SpecklePointMaterial from './SpecklePointMaterial.js';
declare class SpecklePointColouredMaterial extends SpecklePointMaterial {
protected get vertexProgram(): string;
protected get fragmentProgram(): string;
protected get uniformsDef(): Uniforms;
constructor(parameters: PointsMaterialParameters, defines?: string[]);
setGradientTexture(texture: Texture): void;
fastCopy(from: Material, to: Material): void;
}
export default SpecklePointColouredMaterial;