virtual ZRESULT setOpacity(float fOpacity, bool* pInherit=NULL)=0;
Description
Sets material opacity level in range 0 (transparent) to 1 (opaque).
Parameters:
- fOpacity
- Opacity level to set.
- pInherit
- Optional. Points to bool argument which can enable(true) or
disable (false) inheritance of parent opacity settings.
See Also:
- Interface overview and methods
- getOpacity method