RenderWare V2.1

Previous Page Index Next Page

RwRGBColor *

RwGetPolygonDiffuseRGB(RwPolygon3d *poly, RwRGBColor *rgb)

Description

Returns the diffuse 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()

RwGetMaterialDiffuseRGB()

RwGetMaterialSpecularRGB()

RwSetMaterialAmbientRGB()

RwSetMaterialDiffuseRGB()

RwSetMaterialSpecularRGB()

RwGetPolygonAmbientRGB()

RwGetPolygonSpecularRGB()

RwSetPolygonAmbientRGB()

RwSetPolygonDiffuseRGB()

RwSetPolygonSpecularRGB()