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.
This class provides 1 method for working with PhongMaterial objects in Typescript programs.
Available methods include: constructor.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: reflectionColor, reflectionFactor, shininess, specularColor, specularFactor.
Description
PhongMaterial is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 5 properties for programmatic use. It extends LambertMaterial, inheriting shared functionality from its parent type.
Core capabilities include: vector3 \; number; number`. These operations enable developers to integrate phongmaterial functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
specularColor | Vector3 | null | Read/Write | Gets the specular color. |
specularFactor | number | Read/Write | Gets the specular factor. |
shininess | number | Read/Write | Gets the shininess. |
reflectionColor | Vector3 | null | Read/Write | Gets the reflection color. |
reflectionFactor | number | Read/Write | Gets the reflection factor. |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | Creates a new PhongMaterial instance with the specified name |