Isle
|
[AI] Represents a source of lighting in the 3D scene. More...
#include <tgl.h>
Public Member Functions | |
virtual Result | SetTransformation (FloatMatrix4 &)=0 |
[AI] Sets the transformation matrix for the light source. More... | |
virtual Result | SetColor (float r, float g, float b)=0 |
[AI] Sets the light's color. More... | |
![]() | |
virtual | ~Object () |
[AI] Destructor; releases resources. More... | |
virtual void * | ImplementationDataPtr ()=0 |
[AI] Returns a pointer to internal/implementation data, if any. More... | |
[AI] Represents a source of lighting in the 3D scene.
[AI]
[AI] Configures transform and color for different light types. [AI]
|
pure virtual |
[AI] Sets the light's color.
[AI]
r | Red. [AI] |
g | Green. [AI] |
b | Blue. [AI] |
Implemented in TglImpl::LightImpl.
|
pure virtual |
[AI] Sets the transformation matrix for the light source.
[AI]
mat | Reference to transformation matrix. [AI] |
Implemented in TglImpl::LightImpl.