RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetPolygonAmbient(RwPolygon3d *polygon);

Description

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

Arguments

polygon Pointer to the polygon.

Return Value

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

See Also

RwGetError()

RwGetMaterialAmbient()

RwGetPolygonDiffuse()

RwGetPolygonSpecular()

RwSetPolygonAmbient()

RwSetPolygonSurface()