C4 Engine
C4 Engine API Documentation

RefractionAttribute::SetRefractionColor

Defined in:  C4Attributes.h
Sets the refraction color.
Prototype

void SetRefractionColor(const ColorRGBA& color);

Parameters
color The new refraction color.
Description
The SetRefractionColor attribute sets the refraction color stored in a refraction material attribute to the value given by the color parameter. A renderable object to which the affected attribute applies will subsequently be rendered using the new color.
See Also

RefractionAttribute::GetRefractionColor