![]() |
Murl Engine API
Version 2018.3
|
The IColored property interface. More...
#include <murl_graph_i_colored.h>
The IColored property interface.
This interface provides a generic way to specify individual colors for any of the possible components found in a regular lighting equation, in particular ambient, diffuse, specular and emissive components.
Animation controllers may call the SetColor() method when color keys are present in a given Resource::IAnimation.
Public Member Functions | |
virtual Bool | SetColor (IEnums::LightingComponent component, const Color &color)=0 |
Set the color value of a given lighting component. More... | |
virtual const Color & | GetColor (IEnums::LightingComponent component) const =0 |
Get the color value set for a given lighting component. More... | |
|
pure virtual |
Set the color value of a given lighting component.
component | The lighting component. |
color | The color to set. |
|
pure virtual |
Get the color value set for a given lighting component.
component | The lighting component. |