C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class EnvironmentAttribute

Defined in:  C4Attributes.h
The EnvironmentAttribute class represents the material attribute for an environment map color.
Definition

class EnvironmentAttribute : public Attribute

Member Functions
EnvironmentAttribute::GetEnvironmentColor Returns the environment color.
EnvironmentAttribute::SetEnvironmentColor Sets the environment color.
Constructor

explicit EnvironmentAttribute(const ColorRGBA& color);

Parameters
color The initial environment color.
Description
The EnvironmentAttribute class represents the material attribute for an environment map color. The environment color is applied during the ambient rendering pass only.
Base Classes
Attribute An EnvironmentAttribute is a specific type of Attribute.
See Also

ColorRGBA