@types/three
Version:
TypeScript definitions for three
38 lines (33 loc) • 1.02 kB
TypeScript
import LightingModel from "../core/LightingModel.js";
import Node from "../core/Node.js";
export default class PhysicalLightingModel extends LightingModel {
clearcoat: boolean;
sheen: boolean;
iridescence: boolean;
anisotropy: boolean;
transmission: boolean;
dispersion: boolean;
clearcoatRadiance: Node | null;
clearcoatSpecularDirect: Node | null;
clearcoatSpecularIndirect: Node | null;
sheenSpecularDirect: Node | null;
sheenSpecularIndirect: Node | null;
iridescenceFresnel: Node | null;
iridescenceF0: Node | null;
iridescenceF0Dielectric: Node | null;
iridescenceF0Metallic: Node | null;
constructor(
clearcoat?: boolean,
sheen?: boolean,
iridescence?: boolean,
anisotropy?: boolean,
transmission?: boolean,
dispersion?: boolean,
);
computeMultiscattering(
singleScatter: Node,
multiScatter: Node,
specularF90: Node,
iridescenceF0?: Node | null,
): void;
}