PbrMaterial
General
PbrMaterial is a class in Aspose.3d for Python.
Inherits from: Material.
PbrMaterial és una classe en Aspose.3d per a Python. Hereta de: ゚Material⌒ .
PbrMaterial.from_material crea un PbrMaterial d’una instància de Material existent.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
albedo | 'Vector3' | Read | Is a Vector3 representing the base color of the material |
albedo_texture | `` | Read | Is the texture that defines the base color map |
normal_texture | `` | Read | Is the texture providing normal map data for surface detail |
metallic_factor | float | Read | Is a float indicating the metallic property (0 = dielectric, 1 = metal) |
roughness_factor | float | Read | Is a float controlling surface roughness (0 = smooth, 1 = rough) |
metallic_roughness | `` | Read | Combines metallic and roughness into a single texture |
occlusion_texture | `` | Read | Is the texture that defines ambient occlusion shading |
occlusion_factor | float | Read | Is a float scaling the occlusion effect |
emissive_texture | `` | Read | Is the texture that defines the emissive color map |
emissive_color | 'Vector3' | Read | Is a Vector3 representing the emissive color of the material |
transparency | float | Read | Is a float defining the material’s opacity (0 = fully transparent) |
Mètodes
| Signature | Description |
|---|---|
__init__(name: str, albedo: 'Vector3') | |
from_material(material: 'Material') → 'PbrMaterial' | Creates a PbrMaterial from an existing Material instance |