C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class RefractionAttribute

Defined in:  C4Attributes.h
The RefractionAttribute class represents the material attribute for a refraction color.
Definition

class RefractionAttribute : public Attribute

Member Functions
RefractionAttribute::GetRefractionColor Sets the refraction color.
RefractionAttribute::SetRefractionColor Sets the refraction color.
Constructor

RefractionAttribute(const ColorRGBA& color, float scale);

Parameters
color The initial refraction color.
scale The warp offset scale.
Description


Base Classes
Attribute A RefractionAttribute is a specific type of Attribute.
See Also

ColorRGBA