| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { Color } from './../math/Color';
- import { Texture } from './../textures/Texture';
- import { Vector2 } from './../math/Vector2';
- import { MaterialParameters, Material } from './Material';
- import { NormalMapTypes } from '../constants';
- export interface MeshStandardMaterialParameters extends MaterialParameters {
- color?: Color | string | number;
- roughness?: number;
- metalness?: number;
- map?: Texture | null;
- lightMap?: Texture | null;
- lightMapIntensity?: number;
- aoMap?: Texture | null;
- aoMapIntensity?: number;
- emissive?: Color | string | number;
- emissiveIntensity?: number;
- emissiveMap?: Texture | null;
- bumpMap?: Texture | null;
- bumpScale?: number;
- normalMap?: Texture | null;
- normalMapType?: NormalMapTypes;
- normalScale?: Vector2;
- displacementMap?: Texture | null;
- displacementScale?: number;
- displacementBias?: number;
- roughnessMap?: Texture | null;
- metalnessMap?: Texture | null;
- alphaMap?: Texture | null;
- envMap?: Texture | null;
- envMapIntensity?: number;
- refractionRatio?: number;
- wireframe?: boolean;
- wireframeLinewidth?: number;
- skinning?: boolean;
- morphTargets?: boolean;
- morphNormals?: boolean;
- }
- export class MeshStandardMaterial extends Material {
- constructor( parameters?: MeshStandardMaterialParameters );
- color: Color;
- roughness: number;
- metalness: number;
- map: Texture | null;
- lightMap: Texture | null;
- lightMapIntensity: number;
- aoMap: Texture | null;
- aoMapIntensity: number;
- emissive: Color;
- emissiveIntensity: number;
- emissiveMap: Texture | null;
- bumpMap: Texture | null;
- bumpScale: number;
- normalMap: Texture | null;
- normalMapType: NormalMapTypes;
- normalScale: Vector2;
- displacementMap: Texture | null;
- displacementScale: number;
- displacementBias: number;
- roughnessMap: Texture | null;
- metalnessMap: Texture | null;
- alphaMap: Texture | null;
- envMap: Texture | null;
- envMapIntensity: number;
- refractionRatio: number;
- wireframe: boolean;
- wireframeLinewidth: number;
- skinning: boolean;
- morphTargets: boolean;
- morphNormals: boolean;
- setValues( parameters: MeshStandardMaterialParameters ): void;
- }
|