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