Spaces:
Running
Running
File size: 1,357 Bytes
6cd9596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
import { Color } from './../math/Color';
import { Texture } from './../textures/Texture';
import { MaterialParameters, Material } from './Material';
import { Combine } from '../constants';
/**
* parameters is an object with one or more properties defining the material's appearance.
*/
export interface MeshBasicMaterialParameters extends MaterialParameters {
color?: Color | string | number;
opacity?: number;
map?: Texture;
aoMap?: Texture;
aoMapIntensity?: number;
specularMap?: Texture;
alphaMap?: Texture;
envMap?: Texture;
combine?: Combine;
reflectivity?: number;
refractionRatio?: number;
wireframe?: boolean;
wireframeLinewidth?: number;
wireframeLinecap?: string;
wireframeLinejoin?: string;
skinning?: boolean;
morphTargets?: boolean;
}
export class MeshBasicMaterial extends Material {
constructor(parameters?: MeshBasicMaterialParameters);
color: Color;
map: Texture | null;
aoMap: Texture | null;
aoMapIntensity: number;
specularMap: Texture | null;
alphaMap: Texture | null;
envMap: Texture | null;
combine: Combine;
reflectivity: number;
refractionRatio: number;
wireframe: boolean;
wireframeLinewidth: number;
wireframeLinecap: string;
wireframeLinejoin: string;
skinning: boolean;
morphTargets: boolean;
setValues(parameters: MeshBasicMaterialParameters): void;
}
|