Material — Aspose.3D FOSS TypeScript API Reference
Material — Material class in the Aspose.3D FOSS TypeScript API.. Inherits from: A3DObject.
Package: aspose.threed
Properties
| Property | Type | Access | Description |
|---|---|---|---|
MAP_SPECULAR | `` | Read/Write | |
MAP_DIFFUSE | `` | Read/Write | |
MAP_EMISSIVE | `` | Read/Write | |
MAP_AMBIENT | `` | Read/Write | |
MAP_NORMAL | `` | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getTexture(_slotName: string) | `TextureBase | null` |
setTexture(_slotName: string, _texture: TextureBase) | void |