SceneLighting::InteriorProxy Class Reference#include <sgSceneLighting.h>
Inheritance diagram for SceneLighting::InteriorProxy:
[legend]
|
Public Member Functions |
| InteriorProxy (SceneObject *obj) |
| ~InteriorProxy () |
InteriorInstance * | operator-> () |
InteriorInstance * | getObject () |
void | sgClearSurfaces () |
void | sgAddLight (LightInfo *light, InteriorInstance *interior) |
void | sgProcessSurface (sgSurfaceInfo &surfaceinfo) |
void | sgConvertStaticMeshPrimitiveToSurfaceInfo (const ConstructorSimpleMesh *staticmesh, U32 primitiveindex, Interior *detail, sgSurfaceInfo &surfaceinfo) |
void | sgConvertInteriorSurfaceToSurfaceInfo (const Interior::Surface &surface, U32 i, Interior *detail, sgSurfaceInfo &surfaceinfo) |
void | sgReorganizeSurface (sgSurfaceInfo &surfaceinfo) |
void | sgExtractLightingInformation (const Interior *detail, const PlaneF &lmEqX, const PlaneF &lmEqY, const PlaneF &surfplane, const Point2I &lmoff, const Point2I &lmext, const Point2I &lmsheetsize, Point3D &worldpos, Point3D &vectS, Point3D &vectT, Point2I &lmoffactual, Point2I &lmextactual) |
bool | loadResources () |
void | init () |
bool | preLight (LightInfo *) |
void | light (LightInfo *) |
void | postLight (bool lastLight) |
U32 | getResourceCRC () |
bool | setPersistInfo (PersistInfo::PersistChunk *) |
bool | getPersistInfo (PersistInfo::PersistChunk *) |
Data Fields |
ShadowVolumeBSP * | mBoxShadowBSP |
Vector< ShadowVolumeBSP::SVPoly * > | mLitBoxSurfaces |
Vector< PlaneF > | mOppositeBoxPlanes |
Vector< PlaneF > | mTerrainTestPlanes |
U32 | sgCurrentSurfaceIndex |
U32 | sgSurfacesPerPass |
InteriorInstance * | sgInterior |
Vector< LightInfo * > | sgLights |
Vector< sgSurfaceInfo * > | sgSurfaces |
Private Types |
typedef ObjectProxy | Parent |
Private Member Functions |
bool | isShadowedBy (InteriorProxy *) |
Data Structures |
struct | sgSurfaceInfo |
Member Typedef Documentation
Constructor & Destructor Documentation
SceneLighting::InteriorProxy::InteriorProxy |
( |
SceneObject * |
obj |
) |
|
SceneLighting::InteriorProxy::~InteriorProxy |
( |
|
) |
|
Member Function Documentation
bool SceneLighting::InteriorProxy::isShadowedBy |
( |
InteriorProxy * |
|
) |
[private] |
void SceneLighting::InteriorProxy::sgClearSurfaces |
( |
|
) |
[inline] |
void SceneLighting::InteriorProxy::sgReorganizeSurface |
( |
sgSurfaceInfo & |
surfaceinfo |
) |
|
void SceneLighting::InteriorProxy::sgExtractLightingInformation |
( |
const Interior * |
detail, |
|
|
const PlaneF & |
lmEqX, |
|
|
const PlaneF & |
lmEqY, |
|
|
const PlaneF & |
surfplane, |
|
|
const Point2I & |
lmoff, |
|
|
const Point2I & |
lmext, |
|
|
const Point2I & |
lmsheetsize, |
|
|
Point3D & |
worldpos, |
|
|
Point3D & |
vectS, |
|
|
Point3D & |
vectT, |
|
|
Point2I & |
lmoffactual, |
|
|
Point2I & |
lmextactual | |
|
) |
| | |
bool SceneLighting::InteriorProxy::loadResources |
( |
|
) |
[virtual] |
void SceneLighting::InteriorProxy::init |
( |
|
) |
[virtual] |
bool SceneLighting::InteriorProxy::preLight |
( |
LightInfo * |
|
) |
[virtual] |
void SceneLighting::InteriorProxy::light |
( |
LightInfo * |
|
) |
[virtual] |
void SceneLighting::InteriorProxy::postLight |
( |
bool |
lastLight |
) |
[virtual] |
U32 SceneLighting::InteriorProxy::getResourceCRC |
( |
|
) |
[virtual] |
Field Documentation
|