RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetMaterialOpacity(RwMaterial *material);

Description

Retrieves the material’s opacity

Arguments

material Pointer to the material.

Return Value

The opacity if successful. Errors can be checked for using RwGetError().

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

RwGetError()

RwGetPolygonOpacity()

RwSetMaterialOpacity()