SetMaterialAttribute()
Syntax
SetMaterialAttribute(#Material, Attribute, Value)Description
Sets the specified attribute value to the given material.
Parameters
#Material The material to use. Attribute The attribute to set. Value Value of the attribute to set. The following attributes are available: #PB_Material_DepthCheck : Enables or disables the depth check for the material. Value can be #True (depth check enabled) or #False (depth check disabled). #PB_Material_DepthWrite : Enables or disables the depth write for the material. Value can be #True (depth write enabled) or #False (depth write disabled).
Return value
None.
See Also
GetMaterialAttribute()
Supported OS
All