#include <iLightComponent.h>
Inherits igor::iEntityComponent.
◆ iLightComponent()
igor::iLightComponent::iLightComponent |
( |
| ) |
|
◆ createInstance()
creates instance of this component type
◆ getAmbient()
iaColor3f & igor::iLightComponent::getAmbient |
( |
| ) |
|
returns ambient material color
◆ getDiffuse()
iaColor3f & igor::iLightComponent::getDiffuse |
( |
| ) |
|
returns diffuse material color
◆ getInfo()
std::vector< iaString > igor::iLightComponent::getInfo |
( |
| ) |
const |
|
overridevirtual |
◆ getSpecular()
iaColor3f & igor::iLightComponent::getSpecular |
( |
| ) |
|
returns specular material color
◆ getType()
iLightType igor::iLightComponent::getType |
( |
| ) |
const |
◆ getTypeName()
const iaString & igor::iLightComponent::getTypeName |
( |
| ) |
|
|
static |
- Returns
- type name of component
◆ setAmbient() [1/2]
void igor::iLightComponent::setAmbient |
( |
const iaColor3f & |
color | ) |
|
set ambient material color
- Parameters
-
◆ setAmbient() [2/2]
set ambient material color
- Parameters
-
◆ setDiffuse() [1/2]
void igor::iLightComponent::setDiffuse |
( |
const iaColor3f & |
color | ) |
|
set diffuse material color
- Parameters
-
◆ setDiffuse() [2/2]
set diffuse material color
- Parameters
-
◆ setSpecular() [1/2]
void igor::iLightComponent::setSpecular |
( |
const iaColor3f & |
color | ) |
|
set specular material color
- Parameters
-
◆ setSpecular() [2/2]
set specular material color
- Parameters
-
◆ setType()
void igor::iLightComponent::setType |
( |
iLightType |
type | ) |
|
set type of light
- Parameters
-
The documentation for this class was generated from the following files: