---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/lambertmaterial
---

# LambertMaterial

## Overview

`LambertMaterial` is a class in Aspose.3D FOSS for Python.
Inherits from: `Material`.

LambertMaterial provides basic diffuse shading with support for emissive, ambient, diffuse, and transparent colors, and texture slots like MAP_DIFFUSE.

This class declares 8 methods for LambertMaterial objects in Python programs.
Available methods include: `__init__`, `__repr__`, `find_property`, `get_property`, `get_texture`, `remove_property`, `set_property`, `set_texture`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: `ambient_color`, `diffuse_color`, `emissive_color`, `name`, `properties`, `transparency`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `emissive_color` | `'Vector3'` | Read/Write | Gets or sets the emissive color. |
| `ambient_color` | `'Vector3'` | Read/Write | Gets or sets the ambient color. |
| `diffuse_color` | `'Vector3'` | Read/Write | Gets or sets the diffuse color. |
| `transparent_color` | `'Vector3'` | Read/Write | Gets or sets the transparent color. |
| `transparency` | `float` | Read/Write | Gets or sets the transparency. |
| `name` | `str` | Read/Write | Gets or sets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(name: str)` | Calls __init__(name) on this LambertMaterial instance. |
| `get_texture(slot_name: str)` | **Not implemented in the FOSS edition — throws at runtime.** Retrieves the texture assigned to a given slot, and set_texture(slot_name, texture) assigns one |
| `set_texture(slot_name: str, texture)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the texture value. |
| `find_property(property_name: str)` | Searches the material's property collection for a property with the given name |
| `get_property(property: str)` | Calls get_property(property) on this LambertMaterial instance. |
| `set_property(property: str, value)` | Sets the property value. |
| `remove_property(property)` | Calls remove_property(property) on this LambertMaterial instance. |
| `__repr__()` → `str` | Calls __repr__ on this LambertMaterial instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)