![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
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.
Set the color value of a given lighting component.
Boolean SetColor(Murl.IEnums.LightingComponent component, Murl.Color color)
component | The lighting component. |
color | The color to set. |
Get the color value set for a given lighting component.
Murl.Color GetColor(Murl.IEnums.LightingComponent component)
component | The lighting component. |