RenderWare V2.1

Previous Page Index Next Page

RwRGBColor *

RwGetPolygonSpecularRGB(RwPolygon3d *poly, RwRGBColor *rgb)

Description

Returns the specular RGB surface properties of the polygon.

Arguments

poly Pointer to the polygon

rgb pointer to the RwRGBColor that will receive the surface properties.

Return Value

The argument rgb if successful, and NULL otherwise.

See Also

RwGetMaterialAmbientRGB()

RwGetMaterialSpecularRGB()

RwGetMaterialSpecularRGB()

RwSetMaterialAmbientRGB()

RwSetMaterialDiffuseRGB()

RwSetMaterialSpecularRGB()

RwGetPolygonAmbientRGB()

RwGetPolygonDiffuseRGB()

RwSetPolygonAmbientRGB()

RwSetPolygonDiffuseRGB()

RwSetPolygonSpecularRGB()