C++ | Python |
---|---|
Cmaxwell::Cbsdf | Cbsdf |
Describes a BSDF.
Inherits from
Methods
Name | Description |
---|---|
setName | Sets BSDF's name. |
getName | Gets BSDF's name. |
setState | To switch on/off the BSDF. |
getState | Gets BSDF state (on/off). |
setWeight | To set the weight of this BSDF in its parent layer. |
getWeight | To get the weight of this BSDF in its parent layer. |
setActiveWeight | To set the weight of this BSDF in its parent layer. |
getActiveWeight | To get the weight of this BSDF in its parent layer. |
getReflectance | Returns the reflectance pointer of this BSDF. |
setColor | Sets the value/texture of the given parameter. |
getColor | Gets the value/texture of the given parameter. |
setActiveColor | Sets the value/texture of the given parameter. |
getActiveColor | Gets the value/texture of the given parameter. |
setNormalMapState | Enables/disables normal mapping for the bump parameter of this BSDF. |
getNormalMapState | Gets BSDF normal mapping state (on/off). |
addCoating | Add a new coating to this BSDF. |
getCoating | Get a coating of this BSDF. |
getNumCoatings | Get number of coatings of this BSDF. |
...
0 = Error getting number of coatings.
1 = Success
...