Facebook Twitter YouTube

class RefractionAttribute

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

class RefractionAttribute final : public Attribute

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

RefractionAttribute(const ColorRGBA& color, float scale, unsigned_int32 flags = 0);

Parameters
color The initial refraction color.
scale The warp offset scale.
flags The initial attribute flags. See the Attribute::SetAttributeFlags function.
Description


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

ColorRGBA