PbrSpecularMaterial class
PbrSpecularMaterial class
Material for physically based rendering based on diffuse color/specular/glossiness
Inheritance: PbrSpecularMaterial
→
Material
→
A3DObject
The PbrSpecularMaterial type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructor of the PbrSpecularMaterial |
Properties
Property | Description |
---|---|
name | Gets or sets the name. |
properties | Gets the collection of all properties. |
MAP_SPECULAR | Used in Material.set_texture to assign a specular texture mapping. |
MAP_DIFFUSE | Used in Material.set_texture to assign a diffuse texture mapping. |
MAP_EMISSIVE | Used in Material.set_texture to assign a emissive texture mapping. |
MAP_AMBIENT | Used in Material.set_texture to assign a ambient texture mapping. |
MAP_NORMAL | Used in Material.set_texture to assign a normal texture mapping. |
transparency | Gets or sets the transparency factor. The factor should be ranged between 0(0%, fully opaque) and 1(100%, fully transparent) Any invalid factor value will be clamped. |
normal_texture | Gets or sets the texture of normal mapping |
specular_glossiness_texture | Gets or sets the texture for specular color, channel RGB stores the specular color and channel A stores the glossiness. |
glossiness_factor | Gets or sets the glossiness(smoothness) of the material, 1 means perfectly smooth and 0 means perfectly rough, default value is 1, range is [0, 1] |
specular | Gets or sets the specular color of the material, default value is (1, 1, 1). |
diffuse_texture | Gets or sets the texture for diffuse |
diffuse | Gets or sets the diffuse color of the material, default value is (1, 1, 1) |
emissive_texture | Gets or sets the texture for emissive |
emissive_color | Gets or sets the emissive color, default value is (0, 0, 0) |
MAP_SPECULAR_GLOSSINESS | The texture map for specular glossiness |
Methods
Method | Description |
---|---|
remove_property | Removes a dynamic property. |
remove_property | Remove the specified property identified by name |
get_property | Get the value of specified property |
set_property | Sets the value of specified property |
find_property | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
get_texture | Gets the texture from the specified slot, it can be material’s property name or shader’s parameter name |
set_texture | Sets the texture to specified slot |
See Also
- module
aspose.threed.shading
- class
A3DObject
- class
Material
- class
PbrSpecularMaterial