NL3D::CInstanceLighter::CLightDesc Class Reference

#include <instance_lighter.h>


Public Member Functions

 CLightDesc ()

Data Fields

bool DisableSunContribution
float GridCellSize
uint GridSize
NLMISC::CVector LightDirection
uint OverSampling
bool Shadow
std::map< std::string, IShape * > UserShapeMap


Constructor & Destructor Documentation

NL3D::CInstanceLighter::CLightDesc::CLightDesc  ) 
 

Definition at line 55 of file instance_lighter.cpp.

References DisableSunContribution, GridCellSize, GridSize, LightDirection, OverSampling, NLMISC::CVector::set(), and Shadow.

00056 {
00057         LightDirection.set (1, 1, -1);
00058         GridSize=512;
00059         GridCellSize=4;
00060         Shadow= true;
00061         OverSampling= 0;
00062         DisableSunContribution= false;
00063 }


Field Documentation

bool NL3D::CInstanceLighter::CLightDesc::DisableSunContribution
 

Definition at line 71 of file instance_lighter.h.

Referenced by CLightDesc(), and NL3D::CInstanceLighter::computeSunContribution().

float NL3D::CInstanceLighter::CLightDesc::GridCellSize
 

Definition at line 80 of file instance_lighter.h.

Referenced by CLightDesc(), NL3D::CInstanceLighter::computeSunContribution(), and NL3D::CInstanceLighter::light().

uint NL3D::CInstanceLighter::CLightDesc::GridSize
 

Definition at line 77 of file instance_lighter.h.

Referenced by CLightDesc(), NL3D::CInstanceLighter::computeSunContribution(), and NL3D::CInstanceLighter::light().

NLMISC::CVector NL3D::CInstanceLighter::CLightDesc::LightDirection
 

Definition at line 74 of file instance_lighter.h.

Referenced by CLightDesc(), and NL3D::CInstanceLighter::computeSunContribution().

uint NL3D::CInstanceLighter::CLightDesc::OverSampling
 

Definition at line 86 of file instance_lighter.h.

Referenced by CLightDesc(), NL3D::CInstanceLighter::computeSunContribution(), and NL3D::CInstanceLighter::light().

bool NL3D::CInstanceLighter::CLightDesc::Shadow
 

Definition at line 83 of file instance_lighter.h.

Referenced by CLightDesc(), NL3D::CInstanceLighter::computeSunContribution(), NL3D::CInstanceLighter::light(), and NL3D::CInstanceLighter::lightIgSimple().

std::map<std::string, IShape*> NL3D::CInstanceLighter::CLightDesc::UserShapeMap
 

Definition at line 89 of file instance_lighter.h.

Referenced by NL3D::CInstanceLighter::light(), and NL3D::CInstanceLighter::lightIgSimple().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 06:47:44 2004 for NeL by doxygen 1.3.6