Threepp.MeshPhongMaterial¶
Phong material
A material that models both diffuse and specular reflection. Suitable for shiny surfaces.
Members¶
Constructors¶
Properties¶
MeshPhongMaterial¶
Constructor
Description
Constructor
type¶
Property \ Access: r/w
Description
"MeshPhongMaterial" (read-only)
color¶
Property \ Access: r/w
Description
Color (0xRRGGBB)
emissive¶
Property \ Access: r/w
Description
Emissive color (0xRRGGBB)
specular¶
Property \ Access: r/w
Description
Specular color (0xRRGGBB)
shininess¶
Property \ Access: r/w
Description
Shininess
wireframe¶
Property \ Access: r/w
Description
Renders as wireframe
wireframeLinewidth¶
Property \ Access: r/w
Description
Wireframe line width
flatShading¶
Property \ Access: r/w
Description
Flat shading