GClasses
|
Represents directional light in a ray-tracing scene.
#include <GRayTrace.h>
Public Member Functions | |
GRayTraceDirectionalLight (G3DReal dx, G3DReal dy, G3DReal dz, G3DReal r, G3DReal g, G3DReal b, G3DReal jitter) | |
Specify the direction to the light, not the direction the light travels. More... | |
GRayTraceDirectionalLight (GDomNode *pNode) | |
virtual | ~GRayTraceDirectionalLight () |
virtual void | colorContribution (GRayTraceScene *pScene, GRayTraceRay *pRay, GRayTraceMaterial *pMaterial, bool bSpecular) |
virtual LightType | lightType () const |
virtual GDomNode * | serialize (GDom *pDoc, const GRayTraceScene *pScene) const |
Public Member Functions inherited from GClasses::GRayTraceLight | |
GRayTraceLight (G3DReal r, G3DReal g, G3DReal b) | |
GRayTraceLight (GDomNode *pNode) | |
virtual | ~GRayTraceLight () |
Protected Attributes | |
G3DVector | m_direction |
G3DReal | m_jitter |
Protected Attributes inherited from GClasses::GRayTraceLight | |
GRayTraceColor | m_color |
Additional Inherited Members | |
Public Types inherited from GClasses::GRayTraceLight | |
Static Public Member Functions inherited from GClasses::GRayTraceLight | |
static GRayTraceLight * | deserialize (GDomNode *pNode, GRayTraceScene *pScene) |
Protected Member Functions inherited from GClasses::GRayTraceLight | |
GDomNode * | baseDomNode (GDom *pDoc) const |
GClasses::GRayTraceDirectionalLight::GRayTraceDirectionalLight | ( | G3DReal | dx, |
G3DReal | dy, | ||
G3DReal | dz, | ||
G3DReal | r, | ||
G3DReal | g, | ||
G3DReal | b, | ||
G3DReal | jitter | ||
) |
Specify the direction to the light, not the direction the light travels.
GClasses::GRayTraceDirectionalLight::GRayTraceDirectionalLight | ( | GDomNode * | pNode | ) |
|
virtual |
|
virtual |
Implements GClasses::GRayTraceLight.
|
inlinevirtual |
Implements GClasses::GRayTraceLight.
|
virtual |
Implements GClasses::GRayTraceLight.
|
protected |
|
protected |