Click or drag to resize
AB4D logo

ModelUtilsSetMaterialOpacity Method

Overload List
 NameDescription
Public methodStatic memberSetMaterialOpacity(Material, Double, Boolean, Boolean) Sets the opacity (or alpha color) of the specified material. The material that is set as argument must not be frozen (it mush be cloned before sending to this method). Inner materials or brushes can be frozen - they will be cloned in this method when preserveFrozenMaterial is false.
Public methodStatic memberSetMaterialOpacity(Model3D, Double, Boolean, Boolean) Goes through all models in the models hierarchy and sets the opacity (or alpha color) in all materials to the specified opacity.
Top
See Also