GClasses
|
Represents a light source with area.
#include <GRayTrace.h>
Public Member Functions | |
GRayTraceAreaLight (GRayTraceObject *pObject, G3DReal r, G3DReal g, G3DReal b) | |
GRayTraceAreaLight (GDomNode *pNode, GRayTraceScene *pScene) | |
virtual | ~GRayTraceAreaLight () |
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 | |
GRayTraceObject * | m_pObject |
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::GRayTraceAreaLight::GRayTraceAreaLight | ( | GRayTraceObject * | pObject, |
G3DReal | r, | ||
G3DReal | g, | ||
G3DReal | b | ||
) |
GClasses::GRayTraceAreaLight::GRayTraceAreaLight | ( | GDomNode * | pNode, |
GRayTraceScene * | pScene | ||
) |
|
virtual |
|
virtual |
Implements GClasses::GRayTraceLight.
|
inlinevirtual |
Implements GClasses::GRayTraceLight.
|
virtual |
Implements GClasses::GRayTraceLight.
|
protected |