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

NameTypeAccessDescription
albedo'Vector3'ReadIs a Vector3 representing the base color of the material
albedo_texture``ReadIs the texture that defines the base color map
normal_texture``ReadIs the texture providing normal map data for surface detail
metallic_factorfloatReadIs a float indicating the metallic property (0 = dielectric, 1 = metal)
roughness_factorfloatReadIs a float controlling surface roughness (0 = smooth, 1 = rough)
metallic_roughness``ReadCombines metallic and roughness into a single texture
occlusion_texture``ReadIs the texture that defines ambient occlusion shading
occlusion_factorfloatReadIs a float scaling the occlusion effect
emissive_texture``ReadIs the texture that defines the emissive color map
emissive_color'Vector3'ReadIs a Vector3 representing the emissive color of the material
transparencyfloatReadIs a float defining the material’s opacity (0 = fully transparent)

Mètodes

SignatureDescription
__init__(name: str, albedo: 'Vector3')
from_material(material: 'Material')'PbrMaterial'Creates a PbrMaterial from an existing Material instance
 Català