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

NameTypeAccessDescription
specularColorVector3 | nullRead/WriteGets the specular color.
specularFactornumberRead/WriteGets the specular factor.
shininessnumberRead/WriteGets the shininess.
reflectionColorVector3 | nullRead/WriteGets the reflection color.
reflectionFactornumberRead/WriteGets the reflection factor.

Methods

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

See Also