Facebook Twitter YouTube

class ReflectionAttribute

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

class ReflectionAttribute final : public Attribute

Member Functions
ReflectionAttribute::GetReflectionColor Sets the reflection color.
ReflectionAttribute::SetReflectionColor Sets the reflection color.
Constructor

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

Parameters
color The initial reflection color.
factor The normal incidence reflectivity factor.
scale The warp offset scale.
flags The initial attribute flags. See the Attribute::SetAttributeFlags function.
Description


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

ColorRGBA