| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/shadowcaster.h>

Public Types | |
| enum | CalculationMode { CM_Dynamic, CM_CheckModified, CM_Static } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (CalculationMode) | |
| ShadowCaster (Light *light, CalculationMode mode=CM_Dynamic) | |
| void | setLightSource (Light *light) |
| Light * | getLightSource () const |
| void | setCalculationMode (CalculationMode) |
| CalculationMode | getCalculationMode () const |
| void | modifiedCallback (SharedObj *) |
| VRS_TYPEINFO (ShadowCaster, PolyAttribute) | |
| VRS_SERIALIZABLE (ShadowCaster) | |
Protected Member Functions | |
| ShadowCaster () | |
| VRS::ShadowCaster::ShadowCaster | ( | Light * | light, | |
| CalculationMode | mode = CM_Dynamic | |||
| ) |
Asserts if light is NULL.
| VRS::ShadowCaster::ShadowCaster | ( | ) | [protected] |
| VRS::ShadowCaster::VRS_SERIALIZABLE_CLASS_ENUM | ( | CalculationMode | ) |
| void VRS::ShadowCaster::setLightSource | ( | Light * | light | ) |
Sets the light source whose light portion is blocked by shapes with ShadowCaster object. Asserts if light is NULL.
| Light* VRS::ShadowCaster::getLightSource | ( | ) | const |
Returns the light source whose light portion is blocked by shapes with ShadowCaster object.
| void VRS::ShadowCaster::setCalculationMode | ( | CalculationMode | ) |
Sets the setting for recalculation of the shadow map.
| CalculationMode VRS::ShadowCaster::getCalculationMode | ( | ) | const |
Returns the setting for recalculation of the shadow map.
| void VRS::ShadowCaster::modifiedCallback | ( | SharedObj * | ) |
For easy binding of a modified-callback to a ShadowCaster object.
| VRS::ShadowCaster::VRS_TYPEINFO | ( | ShadowCaster | , | |
| PolyAttribute | ||||
| ) |
| VRS::ShadowCaster::VRS_SERIALIZABLE | ( | ShadowCaster | ) |