DzDistantLight Class Reference
[Scene Items]

Base class for all lights. More...

Inheritance diagram for DzDistantLight:

DzLight DzCamera DzNode DzElement DzBase QObject Object DzPointLight DzSpotLight List of all members.

Constructors

 DzDistantLight ()

Methods

Color getDiffuseColor ()
DzColorProperty getDiffuseColorControl ()
Number getFarClippingPlane ()
DzEnumProperty getIlluminationControl ()
Number getIntensity ()
DzFloatProperty getIntensityControl ()
Number getNearClippingPlane ()
DzFloatProperty getShadowBiasControl ()
DzFloatProperty getShadowSoftnessControl ()
DzVec3 getWSDirection ()
Boolean isOn ()

Detailed Description

Base class for all lights.


Constructor & Destructor Documentation

DzDistantLight::DzDistantLight (  ) 

Default Constructor


Member Function Documentation

Color DzDistantLight::getDiffuseColor (  ) 

Returns:
The diffuse color of the light

Reimplemented from DzLight.

DzColorProperty DzDistantLight::getDiffuseColorControl (  ) 

Returns:
A pointer to the property that controls the color this light

Number DzDistantLight::getFarClippingPlane (  ) 

Returns:
The far clipping plane when viewing from the light in OpenGL

DzEnumProperty DzDistantLight::getIlluminationControl (  ) 

Returns:
A pointer to the property that controls Illumination for this light

Number DzDistantLight::getIntensity (  ) 

Returns:
The current light intensity.

DzFloatProperty DzDistantLight::getIntensityControl (  ) 

Returns:
A pointer to the property that controls the intensity of this light

Number DzDistantLight::getNearClippingPlane (  ) 

Returns:
The near clipping plane when viewing from the light in OpenGL

DzFloatProperty DzDistantLight::getShadowBiasControl (  ) 

Returns:
A pointer to the property that controls the bias for the shadow of this light

DzFloatProperty DzDistantLight::getShadowSoftnessControl (  ) 

Returns:
A pointer to the property that controls the softness for the shadow of this light

DzVec3 DzDistantLight::getWSDirection (  ) 

Returns:
The direction the light is pointing in world-space

Reimplemented from DzLight.

Boolean DzDistantLight::isOn (  ) 

Returns:
true if the light is lighting the scene, false if the light has no effect on the scene.

Reimplemented from DzLight.


Generated on Thu Sep 24 12:21:11 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.