RenderWare V2.1

Previous Page Index Next Page

RwRGBColor *

RwGetPolygonAmbientRGB(RwPolygon3d *poly, RwRGBColor *rgb)

Description

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

RwGetPolygonDiffuseRGB()

RwGetPolygonSpecularRGB()

RwSetPolygonAmbientRGB()

RwSetPolygonDiffuseRGB()

RwSetPolygonSpecularRGB()