RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetMaterialDiffuse(RwMaterial *material);

Description

Retrieves the material‘s diffuse reflection coefficient.

Arguments

material Pointer to the material.

Return Value

The diffuse reflection coefficient if successful. Errors can be checked for using RwGetError().

See Also

RwGetError()

RwGetMaterialAmbient()

RwGetMaterialSpecular()

RwGetPolygonDiffuse()

RwSetMaterialDiffuse()

RwSetMaterialSurface()