RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetPolygonSpecular(RwPolygon3d *polygon);

Description

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

Arguments

polygon Pointer to the polygon.

Return Value

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

See Also

RwGetError()

RwGetMaterialSpecular()

RwGetPolygonAmbient()

RwGetPolygonDiffuse()

RwSetPolygonSpecular()