RenderWare V2.1

Previous Page Index Next Page

RwRGBColor *

RwGetPolygonColor(RwPolygon3d *polygon, RwRGBColor *color);

Description

Retrieves the color of the polygon’s material.

Arguments

polygon Pointer to the polygon.

color Pointer to the RwRGBColor that will receive the material’s color.

Return Value

The argument color if successful, and NULL otherwise.

See Also

RwGetMaterialColor()

RwSetPolygonColor()

RwSetPolygonColorStruct()