-
Notifications
You must be signed in to change notification settings - Fork 1
Lightinginfo {documentation engine lighting}
unpackExtended( BitStream * ) |
Will traverse the vector of LightInfoEx pointers (mExtended) and call their individual unpackUpdate function with the passed in stream as a parameter. Syntax unpackExtended( BitStream *stream )isCompatible()
Returns No return value. Examples // From LightBase::unpackUpdate mLight->unpackExtended( stream ); |
packExtended( BitStream * ) |
Will traverse the vector of LightInfoEx pointers (mExtended) and call their individual packUpdate function with the passed in stream as a parameter. Syntax packExtended( BitStream *stream )
Returns No return value. Examples // From LightNase::packUpdate at lightBase.cpp mLight->packExtended( stream ); |
packExtended( BitStream * ) |
Will traverse the vector of LightInfoEx pointers (mExtended) and call their individual packUpdate function with the passed in stream as a parameter. Syntax packExtended( BitStream *stream )
Returns No return value. Examples // From LightNase::packUpdate at lightBase.cpp mLight->packExtended( stream ); |
getWorldToLightProj( MatrixF * ) |
Builds the world to light view projected used for shadow texture and cookie lookups. Syntax getWorldToLightProj( MatrixF *outMatrix )
Returns No return value. Examples // From AdvancedLightManager::setLightInfo MatrixF proj; light->getWorldToLightProj( &proj ); |
deleteAllLightInfoEx() |
Deletes all LightInfoEx objects. Syntax deleteAllLightInfoEx() Returns No return value. Examples // From the destructor of LightInfo deleteAllLightInfoEx(); |
addExtended( LightInfoEx * ) |
Will add the passed in LightInfoEx * to the current vector of LightInfo * (mExtended) if it is not null. Syntax addExtended( LightInfoEx *lightInfoEx )
Returns No return value. Examples // AdvancedLightManager::_addLightInfoEx from advancedLightManager.cpp lightInfo->addExtended( new ShadowMapParams( lightInfo ) ); |
getExtended( const LightInfoExType & ) |
Will return the LightInfoEx * mExtended based upon the LightInfoExType passed in. Syntax getExtended( const LightInfoExType &type )
Returns
Examples // From CubeLightShadowMap::setShaderParameters at cubeLightShadowMap.cpp ShadowMapParams *p = mLight->getExtended<ShadowMapParams>(); |
setGFXLight( GFXLightInfo * ) |
Sets a fixed function GFXLight with the properties on this class. Syntax setGFXLight(GFXLightInfo *light )
Returns No return value. Examples // From ProcessedFFMaterial::_setPrimaryLightInfo at porcessedFFMaterial.cpp GFXLightInfo xlatedLight; light->setGFXLight(&xlatedLight); |
set( const LightInfo * ) |
Copies the data passed in from the LightInfo passed in, such as the properties and the contents of mExtended. Syntax set(const LightInfo *light )
Returns No return value. |