RwSetMaterialOpacity(RwMaterial *material, RwReal opacity);
Description
Sets the materials opacity.
Arguments
material Pointer to the material.
opacity Opacity in the range CREAL(0.0) to CREAL(1.0).
Return Value
The argument material if successful, and NULL otherwise.
Comments
An opacity of CREAL(1.0) yields an entirely opaque material. An opacity of CREAL(0.0) yields an entirely transparent material.
See Also