LambertMaterial
Overview
LambertMaterial is a class in Aspose.3D FOSS for Typescript.
Inherits from: Material.
LambertMaterial.constructor creates a LambertMaterial instance, optionally assigning a name.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
MAP_SPECULAR | `` | Read | Identifies the specular texture map slot |
MAP_DIFFUSE | `` | Read | Identifies the diffuse texture map slot |
MAP_EMISSIVE | `` | Read | Identifies the emissive texture map slot |
MAP_AMBIENT | `` | Read | Identifies the ambient texture map slot |
MAP_NORMAL | `` | Read | Identifies the normal (bump) texture map slot |
emissiveColor | Vector3 | null | Read/Write | Stores the emissive color as a Vector3 or null |
ambientColor | Vector3 | null | Read/Write | Stores the ambient color as a Vector3 or null |
diffuseColor | Vector3 | null | Read/Write | Stores the diffuse color as a Vector3 or null |
transparentColor | Vector3 | null | Read/Write | Stores the transparent color as a Vector3 or null |
transparency | number | Read/Write | Sets the material’s transparency factor (0‑1) |
Methods
| Signature | Description |
|---|---|
constructor(name: string | null) | Creates a LambertMaterial instance, optionally assigning a name |