sgLightInfo Class Reference

#include <sgLightInfo.h>

Inheritance diagram for sgLightInfo:

Inheritance graph
[legend]
List of all members.

Public Types

 sgFull = 0
 sgNoCube
 sgNoSpecCube
 sgFeatureCount
enum  sgFeatures {
  sgFull = 0,
  sgNoCube,
  sgNoSpecCube,
  sgFeatureCount
}

Public Member Functions

 sgLightInfo ()
 ~sgLightInfo ()
virtual void set (LightInfo *light)
virtual void setGFXLight (GFXLightInfo *light)
virtual void setSceneGraphData (SceneGraphData *sgd)
virtual F32 getRadius ()
bool sgIsInZone (S32 zone)
bool sgAllowDiffuseZoneLighting (S32 zone)
bool sgCanBeSecondary ()

Static Public Member Functions

static bool sgAllowSpecular (sgFeatures features)
static bool sgAllowCubeMapping (sgFeatures features)

Public Attributes

sgFeatures sgSupportedFeatures
bool sgAssignedToTSObject
bool sgCastsShadows
bool sgDiffuseRestrictZone
bool sgAmbientRestrictZone
S32 sgZone [2]
F32 sgLocalAmbientAmount
bool sgSmoothSpotLight
bool sgDoubleSidedAmbient
bool sgAssignedToParticleSystem
StringTableEntry sgLightingModelName
bool sgUseNormals
Point3F sgTempModelInfo
MatrixF sgLightingTransform
PlaneF sgSpotPlane
GFXCubemapsgLightMask

Member Enumeration Documentation

Enumerator:
sgFull 
sgNoCube 
sgNoSpecCube 
sgFeatureCount 


Constructor & Destructor Documentation

sgLightInfo::sgLightInfo (  ) 

sgLightInfo::~sgLightInfo (  ) 


Member Function Documentation

virtual void sgLightInfo::set ( LightInfo light  )  [virtual]

Reimplemented from LightInfo.

virtual void sgLightInfo::setGFXLight ( GFXLightInfo light  )  [virtual]

Reimplemented from LightInfo.

virtual void sgLightInfo::setSceneGraphData ( SceneGraphData sgd  )  [virtual]

Implements LightInfo.

virtual F32 sgLightInfo::getRadius (  )  [virtual]

Implements LightInfo.

bool sgLightInfo::sgIsInZone ( S32  zone  ) 

bool sgLightInfo::sgAllowDiffuseZoneLighting ( S32  zone  ) 

bool sgLightInfo::sgCanBeSecondary (  )  [inline]

static bool sgLightInfo::sgAllowSpecular ( sgFeatures  features  )  [inline, static]

static bool sgLightInfo::sgAllowCubeMapping ( sgFeatures  features  )  [inline, static]


Member Data Documentation