UNPKG

@types/three

Version:
57 lines (51 loc) 1.79 kB
import { Combine, NormalMapTypes } from "../../constants.js"; import { Color } from "../../math/Color.js"; import { Euler } from "../../math/Euler.js"; import { Vector2 } from "../../math/Vector2.js"; import Node from "../../nodes/core/Node.js"; import { Texture } from "../../textures/Texture.js"; import { MeshPhongMaterialParameters } from "../MeshPhongMaterial.js"; import NodeMaterial, { NodeMaterialParameters } from "./NodeMaterial.js"; export interface MeshPhongNodeMaterialParameters extends NodeMaterialParameters, MeshPhongMaterialParameters { } export default class MeshPhongNodeMaterial extends NodeMaterial { readonly isMeshPhongNodeMaterial: true; shininessNode: Node | null; specularNode: Node | null; // Properties from MeshPhongMaterial readonly isMeshPhongMaterial: true; color: Color; specular: Color; shininess: 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; specularMap: Texture | null; alphaMap: Texture | null; envMap: Texture | null; envMapRotation: Euler; combine: Combine; reflectivity: number; refractionRatio: number; wireframe: boolean; wireframeLinewidth: number; wireframeLinecap: string; wireframeLinejoin: string; flatShading: boolean; metal: boolean; fog: boolean; constructor(parameters?: MeshPhongNodeMaterialParameters); }