RenderWare V2.1

Previous Page Index Next Page

RwRGBColor *

RwGetMaterialColor(RwMaterial *material, RwRGBColor *color);

Description

Retrieves the material’s color.

Arguments

material Pointer to the material.

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

Return Value

The argument color if successful, and NULL otherwise.

See Also

RwGetPolygonColor()

RwSetMaterialColor()

RwSetMaterialColorStruct()