@speckle/viewer
Version:
A 3d viewer for Speckle, based on threejs.
21 lines (20 loc) • 835 B
TypeScript
import { Material } from 'three';
import { PassOptions } from './GPass.js';
import SpeckleViewportMaterial from '../../materials/SpeckleViewportMaterial.js';
import { Asset } from '../../../IViewer.js';
import { GeometryPass } from './GeometryPass.js';
export interface ViewportPassOptions extends PassOptions {
minIntensity?: number;
matcapTexture?: Asset | null;
opacity?: number;
}
export declare const DefaultViewportPassOptions: Required<ViewportPassOptions>;
export declare class ViewportPass extends GeometryPass {
protected viewportMaterial: SpeckleViewportMaterial;
_options: Required<ViewportPassOptions>;
get displayName(): string;
get overrideBatchMaterial(): Material;
set options(value: ViewportPassOptions);
constructor();
protected setMatcapTexture(asset: Asset | null): void;
}