torque Torque Game Engine Documentation
TGE Version 1.5.2

sgObjectShadows Class Reference

#include <sgObjectShadows.h>


Public Member Functions

 sgObjectShadows ()
 ~sgObjectShadows ()
void sgRender (SceneObject *parentobject, TSShapeInstance *shapeinstance, F32 dist, F32 fogamount, F32 genericshadowlevel, F32 noshadowlevel, U32 shadownode, bool move, bool animate)
const Point3F sgGetShadowLightDirection (SceneObject *obj, Shadow *shadow) const
void sgCleanupUnused (U32 time)

Static Public Attributes

static F32 sgCurrentFade

Private Types

enum  { sgosFirstEntryHash = 0 }

Private Member Functions

sgShadowMultimapsgGetFirstShadowEntry ()
ShadowsgFindShadow (SceneObject *parentobject, LightInfo *light, TSShapeInstance *shapeinstance)
void sgClearMap ()
U32 sgLightToHash (LightInfo *light)
LightInfosgHashToLight (U32 hash)

Private Attributes

bool sgRegistered
U32 sgLastRenderTime
sgShadowMultimap sgShadows
LightInfo sgSingleShadowSource


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
sgosFirstEntryHash 


Constructor & Destructor Documentation

sgObjectShadows::sgObjectShadows (  ) 

sgObjectShadows::~sgObjectShadows (  ) 


Member Function Documentation

sgShadowMultimap* sgObjectShadows::sgGetFirstShadowEntry (  )  [private]

Shadow* sgObjectShadows::sgFindShadow ( SceneObject parentobject,
LightInfo light,
TSShapeInstance shapeinstance 
) [private]

void sgObjectShadows::sgClearMap (  )  [private]

U32 sgObjectShadows::sgLightToHash ( LightInfo light  )  [inline, private]

LightInfo* sgObjectShadows::sgHashToLight ( U32  hash  )  [inline, private]

void sgObjectShadows::sgRender ( SceneObject parentobject,
TSShapeInstance shapeinstance,
F32  dist,
F32  fogamount,
F32  genericshadowlevel,
F32  noshadowlevel,
U32  shadownode,
bool  move,
bool  animate 
)

const Point3F sgObjectShadows::sgGetShadowLightDirection ( SceneObject obj,
Shadow shadow 
) const

void sgObjectShadows::sgCleanupUnused ( U32  time  ) 


Field Documentation




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