RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetMaterialAmbient(RwMaterial *material);

Description

Retrieves the material’s ambient reflection coefficient.

Arguments

material Pointer to the material.

Return Value

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

See Also

RwGetError()

RwGetMaterialDiffuse()

RwGetMaterialSpecular()

RwGetPolygonAmbient()

RwSetMaterialAmbient()

RwSetMaterialSurface()