RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialAmbientRGBStruct(RwMaterial *mat, RwRGBColor *rgb)

RwMaterial *

RwSetMaterialAmbientRGB(RwMaterial *mat, RwReal red, RwReal green, RwReal blue)

Description

Sets the ambient RGB surface properties of the material.

Arguments

mat Pointer to the material

rgb pointer to the RwRGBColor that contains the surface properties.

Return Value

The argument mat if successful, and NULL otherwise.

See Also

RwGetMaterialDiffuseRGB()

RwGetMaterialSpecularRGB()

RwGetMaterialAmbientRGB()

RwSetMaterialDiffuseRGB()

RwSetMaterialSpecularRGB()

RwGetPolygonAmbientRGB()

RwGetPolygonDiffuseRGB()

RwGetPolygonSpecularRGB()

RwSetPolygonAmbientRGB()

RwSetPolygonDiffuseRGB()

RwSetPolygonSpecularRGB()