Inheritance diagram for DzLight:
Enumerations | |
enum | ShadowType { None, DeepShadowMap, Raytraced } |
Methods | |
Color | getDiffuseColor () |
ShadowType | getShadowType () |
DzEnumProperty | getShadowTypeControl () |
DzVec3 | getWSDirection () |
Boolean | isAreaLight () |
Boolean | isDirectional () |
Boolean | isOn () |
enum DzLight::ShadowType |
Color DzLight::getDiffuseColor | ( | ) |
Reimplemented in DzDistantLight.
ShadowType DzLight::getShadowType | ( | ) |
DzEnumProperty DzLight::getShadowTypeControl | ( | ) |
DzVec3 DzLight::getWSDirection | ( | ) |
Calculates the direction that light is being cast from this light.
Only valid for directional light sources.
Reimplemented in DzDistantLight.
Boolean DzLight::isAreaLight | ( | ) |
Boolean DzLight::isDirectional | ( | ) |
Indicates if this light is an infinite directional light.
Directional lights do not have a position per se. They are assumed to lie at infinity and cast parallel rays of light into the scene.
Boolean DzLight::isOn | ( | ) |