UNPKG

videx-3d

Version:

React 3D component library designed for sub surface visualizations in the browser

25 lines (24 loc) 756 B
import { Color, MeshLambertMaterialParameters, ShaderMaterial, Texture } from 'three'; export type RibonMaterialParams = MeshLambertMaterialParameters & { angle?: number; width?: number; offset?: number; ignoreLight?: boolean; }; export declare class RibbonMaterial extends ShaderMaterial { isRibbonMaterial: boolean; constructor(parameters?: RibonMaterialParams); get color(): Color; set color(color: Color); get angle(): number; set angle(a: number); get offset(): number; set offset(o: number); get width(): number; set width(w: number); get map(): Texture | null; set map(m: Texture | null); get ignoreLight(): boolean; set ignoreLight(f: boolean); onBeforeCompile(): void; }