torque Torque Game Engine Documentation
TGE Version 1.5.2

LightInfo Class Reference

#include <sgLightManager.h>


Public Types

enum  Type {
  Point = 0,
  Spot = 1,
  Vector = 2,
  Ambient = 3,
  SGStaticPoint,
  SGStaticSpot
}

Public Member Functions

 LightInfo ()
bool sgIsInZone (S32 zone)
bool sgAllowDiffuseZoneLighting (S32 zone)

Data Fields

Type mType
Point3F mPos
VectorF mDirection
ColorF mColor
ColorF mAmbient
F32 mRadius
S32 mScore
F32 sgSpotAngle
bool sgAssignedToTSObject
bool sgCastsShadows
bool sgDiffuseRestrictZone
bool sgAmbientRestrictZone
S32 sgZone [2]
F32 sgLocalAmbientAmount
bool sgSmoothSpotLight
bool sgDoubleSidedAmbient
bool sgAssignedToParticleSystem
StringTableEntry sgLightingModelName
bool sgUseNormals
MatrixF sgLightingTransform
PlaneF sgSpotPlane
Point3F sgTempModelInfo
F32 sgDTSLightingOcclusionAdjust
U32 sgMoveSnapshotId
bool sgTrackMoveSnapshot

Friends

class LightManager


Member Enumeration Documentation

Enumerator:
Point 
Spot 
Vector 
Ambient 
SGStaticPoint 
SGStaticSpot 


Constructor & Destructor Documentation

LightInfo::LightInfo (  ) 


Member Function Documentation

bool LightInfo::sgIsInZone ( S32  zone  ) 

bool LightInfo::sgAllowDiffuseZoneLighting ( S32  zone  ) 


Friends And Related Function Documentation

friend class LightManager [friend]


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen