PhongMaterial

Overview

PhongMaterial is a class in Aspose.3D FOSS for Typescript. Inherits from: LambertMaterial.

PhongMaterial.constructor creates a new PhongMaterial instance with the specified name.

Properties

NameTypeAccessDescription
specularColorVector3 | nullRead/WriteHolds the specular highlight color as a Vector3 or null
specularFactornumberRead/WriteDefines the intensity multiplier for the specular component
shininessnumberRead/WriteControls the size of the specular highlight on the material
reflectionColorVector3 | nullRead/WriteStores the color of reflected light as a Vector3 or null
reflectionFactornumberRead/WriteSets the strength of the material’s reflection effect

Methods

SignatureDescription
constructor(name: string)Creates a new PhongMaterial instance with the specified name

See Also