three
Version:
JavaScript 3D library
47 lines (33 loc) • 1.05 kB
TypeScript
import { Texture } from './../textures/Texture';
import { Vector2 } from './../math/Vector2';
import {
MeshStandardMaterialParameters,
MeshStandardMaterial,
} from './MeshStandardMaterial';
import { Color } from './../math/Color';
export interface MeshPhysicalMaterialParameters
extends MeshStandardMaterialParameters {
clearcoat?: number;
clearcoatMap: Texture | null;
clearcoatRoughness?: number;
clearcoatRoughnessMap: Texture | null;
clearcoatNormalScale?: Vector2;
clearcoatNormalMap?: Texture | null;
reflectivity?: number;
sheen?: Color;
transmission?: number;
transmissionMap?: Texture | null;
}
export class MeshPhysicalMaterial extends MeshStandardMaterial {
constructor( parameters: MeshPhysicalMaterialParameters );
clearcoat: number;
clearcoatMap: Texture | null;
clearcoatRoughness: number;
clearcoatRoughnessMap: Texture | null;
clearcoatNormalScale: Vector2;
clearcoatNormalMap: Texture | null;
reflectivity: number;
sheen: Color | null;
transmission: number;
transmissionMap: Texture | null;
}