class RefractionAttribute
Defined in:
The C4Attributes.h
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, uint32 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