LambertMaterial
Overview
LambertMaterial is a class in Aspose.3D FOSS for .NET.
Inherits from: Material.
Lambert material with diffuse lighting
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Ambient | Vector4 | Read/Write | Represents the ambient color component as a Vector4 |
Diffuse | Vector4 | Read/Write | |
Emissive | Vector4 | Read/Write | |
Reflective | Vector4 | Read/Write | |
Reflectivity | float | Read/Write | Defines the scalar reflectivity factor of the material |
Transparency | float | Read/Write | Defines the scalar transparency (alpha) of the material |
IndexOfRefraction | float | Read/Write | Specifies the material’s index of refraction for light bending |
Texture | string | Read/Write | Holds the file path or identifier of the texture applied to the material |
Methods
| Signature | Description |
|---|---|
LambertMaterial() | Initializes a LambertMaterial and sets its name to the given string |
LambertMaterial(name: string) | Material name |