SetMaterialAttribute()
语法
SetMaterialAttribute(#Material, Attribute, Value)概要
Sets the specified attribute value to the given material.
参数
#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).
返回值
无.
参阅
GetMaterialAttribute()
已支持操作系统
所有