Facebook Twitter YouTube

class EmissionAttribute

Defined in:  TSAttributes.h
The EmissionAttribute class represents the material attribute for an emission color.
Definition

class EmissionAttribute final : public Attribute

Member Functions
EmissionAttribute::GetEmissionColor Returns the emission color.
EmissionAttribute::SetEmissionColor Sets the emission color.
Constructor

explicit EmissionAttribute(const ColorRGBA& color, unsigned_int32 flags = 0);

Parameters
color The initial emission color.
flags The initial attribute flags. See the Attribute::SetAttributeFlags function.
Description
The EmissionAttribute class represents the material attribute for an emission color. The emission color is applied during the ambient rendering pass only.
Base Classes
Attribute An EmissionAttribute is a specific type of attribute.
See Also

ColorRGBA