BaseLight
Inherited: None
Description
Note: This class must be a superclass only and shouldn’t be created manually.
Public Methods
float |
brightness () const |
bool |
castShadows () const |
color () const |
|
int |
lightType () const |
void |
setBrightness (const float brightness) |
void |
setCastShadows (const bool shadows) |
void |
setColor (const Vector4 color) |
Static Methods
None
Methods Description
float BaseLight::brightness () const
Returns a brightness of emitting light.
See also setBrightness().
bool BaseLight::castShadows () const
Returns true if the light source can cast shadows; otherwise returns false.
See also setCastShadows().
Vector4 BaseLight::color () const
Returns a color of emitting light.
See also setColor().
int BaseLight::lightType () const
Return a type of the light. Fot more details refer to BaseLight::LightType
void BaseLight::setBrightness (float brightness)
Changes a brightness of emitting light.
See also *brightness*().
void BaseLight::setCastShadows (bool shadows)
Enables or disables cast shadows ability for the light source.
See also castShadows().
void BaseLight::setColor (Vector4 color)
Changes a color of emitting light.
See also *color*().