Isle
Loading...
Searching...
No Matches
Tgl::Light Class Referenceabstract

[AI] Represents a source of lighting in the 3D scene. More...

#include <tgl.h>

Inheritance diagram for Tgl::Light:
Collaboration diagram for Tgl::Light:

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...
 
- Public Member Functions inherited from Tgl::Object
virtual ~Object ()
 [AI] Destructor; releases resources. More...
 
virtual void * ImplementationDataPtr ()=0
 [AI] Returns a pointer to internal/implementation data, if any. More...
 

Detailed Description

[AI] Represents a source of lighting in the 3D scene.

[AI]

[AI] Configures transform and color for different light types. [AI]

Definition at line 559 of file tgl.h.

Member Function Documentation

◆ SetColor()

virtual Result Tgl::Light::SetColor ( float  r,
float  g,
float  b 
)
pure virtual

[AI] Sets the light's color.

[AI]

Parameters
rRed. [AI]
gGreen. [AI]
bBlue. [AI]
Returns
Result Success or Error. [AI]

Implemented in TglImpl::LightImpl.

◆ SetTransformation()

virtual Result Tgl::Light::SetTransformation ( FloatMatrix4 )
pure virtual

[AI] Sets the transformation matrix for the light source.

[AI]

Parameters
matReference to transformation matrix. [AI]
Returns
Result Success or Error. [AI]

Implemented in TglImpl::LightImpl.


The documentation for this class was generated from the following file: