UNPKG

three

Version:

JavaScript 3D library

15 lines (10 loc) 450 B
import { Texture } from './../textures/Texture'; import { MeshPhongMaterialParameters, MeshPhongMaterial } from './MeshPhongMaterial'; export interface MeshToonMaterialParameters extends MeshPhongMaterialParameters { gradientMap?: Texture; } export class MeshToonMaterial extends MeshPhongMaterial { constructor(parameters?: MeshToonMaterialParameters); gradientMap: Texture | null; setValues(parameters: MeshToonMaterialParameters): void; }