torque Torque Game Engine Documentation
TGE Version 1.5.2

sgLightingModelAdvanced Class Reference

#include <sgLightingModel.h>

Inheritance diagram for sgLightingModelAdvanced:

Inheritance graph
[legend]

Public Member Functions

 sgLightingModelAdvanced ()
virtual void sgSetState (LightInfo *light)
virtual void sgInitStateLM ()
virtual void sgLightingLM (const Point3F &point, VectorF normal, ColorF &diffuse, ColorF &ambient, Point3F &lightingnormal)
virtual bool sgCanIlluminate (const Box3F &box)
virtual F32 sgGetMaxRadius (bool speedoverquality=false, bool glstyle=false)

Protected Attributes

F32 maxlightdistancesquared

Constructor & Destructor Documentation

sgLightingModelAdvanced::sgLightingModelAdvanced (  )  [inline]


Member Function Documentation

virtual void sgLightingModelAdvanced::sgSetState ( LightInfo light  )  [virtual]

Reimplemented from sgLightingModelGLBase.

virtual void sgLightingModelAdvanced::sgInitStateLM (  )  [virtual]

Reimplemented from sgLightingModelGLBase.

virtual void sgLightingModelAdvanced::sgLightingLM ( const Point3F point,
VectorF  normal,
ColorF diffuse,
ColorF ambient,
Point3F lightingnormal 
) [virtual]

Reimplemented from sgLightingModelGLBase.

virtual bool sgLightingModelAdvanced::sgCanIlluminate ( const Box3F box  )  [virtual]

Reimplemented from sgLightingModelGLBase.

virtual F32 sgLightingModelAdvanced::sgGetMaxRadius ( bool  speedoverquality = false,
bool  glstyle = false 
) [inline, virtual]

Reimplemented from sgLightingModelGLBase.


Field Documentation




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