ScummVM API documentation
hpl::iLight Class Referenceabstract
Inheritance diagram for hpl::iLight:
hpl::iLight2D hpl::iLight3D hpl::cLight2DPoint hpl::cLight3DPoint hpl::cLight3DSpot

Public Member Functions

void FadeTo (const cColor &aCol, float afRadius, float afTime)
 
bool IsFading ()
 
cColor GetDestColor ()
 
float GetDestRadius ()
 
void SetFlickerActive (bool abX)
 
bool GetFlickerActive ()
 
void SetFlicker (const cColor &aOffCol, float afOffRadius, float afOnMinLength, float afOnMaxLength, const tString &asOnSound, const tString &asOnPS, float afOffMinLength, float afOffMaxLength, const tString &asOffSound, const tString &asOffPS, bool abFade, float afOnFadeLength, float afOffFadeLength)
 
tString GetFlickerOffSound ()
 
tString GetFlickerOnSound ()
 
tString GetFlickerOffPS ()
 
tString GetFlickerOnPS ()
 
float GetFlickerOnMinLength ()
 
float GetFlickerOffMinLength ()
 
float GetFlickerOnMaxLength ()
 
float GetFlickerOffMaxLength ()
 
cColor GetFlickerOffColor ()
 
float GetFlickerOffRadius ()
 
bool GetFlickerFade ()
 
float GetFlickerOnFadeLength ()
 
float GetFlickerOffFadeLength ()
 
cColor GetFlickerOnColor ()
 
float GetFlickerOnRadius ()
 
const cColorGetDiffuseColor ()
 
void SetDiffuseColor (cColor aColor)
 
const cColorGetSpecularColor ()
 
void SetSpecularColor (cColor aColor)
 
float GetIntensity ()
 
void SetIntensity (float afX)
 
bool GetCastShadows ()
 
void SetCastShadows (bool afX)
 
bool GetAffectMaterial ()
 
void SetAffectMaterial (bool afX)
 
float GetFarAttenuation ()
 
float GetNearAttenuation ()
 
virtual void SetFarAttenuation (float afX)=0
 
virtual void SetNearAttenuation (float afX)=0
 
float GetSourceRadius ()
 
void SetSourceRadius (float afX)
 
virtual cVector3f GetLightPosition ()=0
 
void UpdateLight (float afTimeStep)
 
void SetWorld3D (cWorld3D *apWorld)
 

Protected Member Functions

virtual void OnFlickerOff ()
 
virtual void OnFlickerOn ()
 
virtual void OnSetDiffuse ()
 

Protected Attributes

cColor mDiffuseColor
 
cColor mSpecularColor
 
float mfIntensity
 
float mfFarAttenuation
 
float mfNearAttenuation
 
float mfSourceRadius
 
bool mbCastShadows
 
bool mbAffectMaterial
 
cWorld3DmpWorld3D
 
cColor mColAdd
 
float mfRadiusAdd
 
cColor mDestCol
 
float mfDestRadius
 
float mfFadeTime
 
bool mbFlickering
 
tString msFlickerOffSound
 
tString msFlickerOnSound
 
tString msFlickerOffPS
 
tString msFlickerOnPS
 
float mfFlickerOnMinLength
 
float mfFlickerOffMinLength
 
float mfFlickerOnMaxLength
 
float mfFlickerOffMaxLength
 
cColor mFlickerOffColor
 
float mfFlickerOffRadius
 
bool mbFlickerFade
 
float mfFlickerOnFadeLength
 
float mfFlickerOffFadeLength
 
cColor mFlickerOnColor
 
float mfFlickerOnRadius
 
bool mbFlickerOn
 
float mfFlickerTime
 
float mfFlickerStateLength
 

The documentation for this class was generated from the following file: