RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetPolygonDiffuse(RwPolygon3d *polygon);

Description

Retrieves the diffuse reflection coefficient of the polygon’s material.

Arguments

polygon Pointer to the polygon.

Return Value

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

See Also

RwGetError()

RwGetMaterialDiffuse()

RwGetPolygonAmbient()

RwGetPolygonSpecular()

RwSetPolygonDiffuse()

RwSetPolygonSurface()