PbrMaterial
Overview
PbrMaterial is a class in Aspose.3D FOSS for Python.
Inherits from: Material.
PbrMaterial.from_material creates a PbrMaterial from an existing Material instance.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
albedo | 'Vector3' | Read | Represents the base color of the material as a Vector3 |
albedo_texture | `` | Read | Holds the texture used for the albedo (base color) map |
normal_texture | `` | Read | Provides the normal map texture for surface detail |
metallic_factor | float | Read | Is a scalar controlling the material’s metallic property |
roughness_factor | float | Read | Is a scalar controlling the surface roughness of the material |
metallic_roughness | `` | Read | Stores a combined metallic‑roughness texture map |
occlusion_texture | `` | Read | Contains the ambient occlusion texture map |
occlusion_factor | float | Read | Is a scalar multiplier applied to the occlusion effect |
emissive_texture | `` | Read | Holds the texture that defines the emissive color map |
emissive_color | 'Vector3' | Read | Specifies the color emitted by the material as a Vector3 |
transparency | float | Read | Defines the material opacity where 0 is fully transparent and 1 is opaque |
_albedo | `` | Read | |
_albedo_texture | `` | Read | |
_normal_texture | `` | Read | |
_metallic_factor | `` | Read | |
_roughness_factor | `` | Read | |
_metallic_roughness | `` | Read | |
_occlusion_texture | `` | Read | |
_occlusion_factor | `` | Read | |
_emissive_texture | `` | Read | |
_emissive_color | `` | Read | |
_transparency | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(name: str, albedo: 'Vector3') | |
from_material(material: 'Material') → 'PbrMaterial' | Creates a PbrMaterial from an existing Material instance |