Murl::Graph::IColored Interface Referenceabstract
The IColored property interface. More...
#include "murl_graph_i_colored.h"
Inheritance diagram for Murl::Graph::IColored:
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... | |
Detailed Description
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.
Member Function Documentation
◆ SetColor()
|
pure virtual |
Set the color value of a given lighting component.
- Parameters
-
component The lighting component. color The color to set.
- Returns
- true if successful.
◆ GetColor()
|
pure virtual |
Get the color value set for a given lighting component.
- Parameters
-
component The lighting component.
- Returns
- The current color.
The documentation for this interface was generated from the following file:
- murl_graph_i_colored.h