Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.js>MeshPhongMaterialParameters

A simple transformation of three.js for use within a Deno workflow
Go to Latest
interface MeshPhongMaterialParameters
implements MaterialParameters
import { type MeshPhongMaterialParameters } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";

Properties

optional
color: Color | string | number

geometry color in hexadecimal. Default is 0xffffff.

optional
specular: Color | string | number
optional
shininess: number
optional
opacity: number
optional
map: Texture | null
optional
lightMap: Texture | null
optional
lightMapIntensity: number
optional
aoMap: Texture | null
optional
aoMapIntensity: number
optional
emissive: Color | string | number
optional
emissiveIntensity: number
optional
emissiveMap: Texture | null
optional
bumpMap: Texture | null
optional
bumpScale: number
optional
normalMap: Texture | null
optional
normalMapType: NormalMapTypes
optional
normalScale: Vector2
optional
displacementMap: Texture | null
optional
displacementScale: number
optional
displacementBias: number
optional
specularMap: Texture | null
optional
alphaMap: Texture | null
optional
envMap: Texture | null
optional
combine: Combine
optional
reflectivity: number
optional
refractionRatio: number
optional
wireframe: boolean
optional
wireframeLinewidth: number
optional
wireframeLinecap: string
optional
wireframeLinejoin: string
optional
skinning: boolean
optional
morphTargets: boolean
optional
morphNormals: boolean