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
| Name | Type | Access | Description |
|---|---|---|---|
specularColor | Vector3 | null | Read/Write | Holds the specular highlight color as a Vector3 or null |
specularFactor | number | Read/Write | Defines the intensity multiplier for the specular component |
shininess | number | Read/Write | Controls the size of the specular highlight on the material |
reflectionColor | Vector3 | null | Read/Write | Stores the color of reflected light as a Vector3 or null |
reflectionFactor | number | Read/Write | Sets the strength of the material’s reflection effect |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | Creates a new PhongMaterial instance with the specified name |