#include <LightCategory.hpp>
◆ LightCategory()
Constructeur.
- Paramètres
-
[in] | lightType | Le type de catégorie de lumière. |
[in] | light | La Light parente. |
◆ ~LightCategory()
virtual C3D_API castor3d::LightCategory::~LightCategory |
( |
| ) |
|
|
virtualdefault |
◆ fillBuffer()
Met la lumière dans la texture donnée.
- Paramètres
-
[out] | data | Reçoit les données de la source lumineuse. |
◆ getBoundingBox()
castor::BoundingBox const & castor3d::LightCategory::getBoundingBox |
( |
| ) |
const |
|
inline |
◆ getColour() [1/2]
castor::Point3f & castor3d::LightCategory::getColour |
( |
| ) |
|
|
inline |
◆ getColour() [2/2]
castor::Point3f const & castor3d::LightCategory::getColour |
( |
| ) |
const |
|
inline |
◆ getDiffuseIntensity()
float castor3d::LightCategory::getDiffuseIntensity |
( |
| ) |
const |
|
inline |
◆ getFarPlane()
float castor3d::LightCategory::getFarPlane |
( |
| ) |
const |
|
inline |
◆ getIntensity() [1/2]
castor::Point2f & castor3d::LightCategory::getIntensity |
( |
| ) |
|
|
inline |
◆ getIntensity() [2/2]
castor::Point2f const & castor3d::LightCategory::getIntensity |
( |
| ) |
const |
|
inline |
◆ getLight() [1/2]
Light & castor3d::LightCategory::getLight |
( |
| ) |
|
|
inline |
◆ getLight() [2/2]
Light const & castor3d::LightCategory::getLight |
( |
| ) |
const |
|
inline |
◆ getLightType()
LightType castor3d::LightCategory::getLightType |
( |
| ) |
const |
|
inline |
◆ getLpvConfig()
◆ getRsmConfig()
◆ getShadowConfig()
◆ getShadowPcfOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowPcfOffsets |
( |
| ) |
const |
◆ getShadowRawOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowRawOffsets |
( |
| ) |
const |
◆ getShadowVariance()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowVariance |
( |
| ) |
const |
◆ getSpecularIntensity()
float castor3d::LightCategory::getSpecularIntensity |
( |
| ) |
const |
|
inline |
◆ getVolumetricScatteringFactor()
C3D_API float castor3d::LightCategory::getVolumetricScatteringFactor |
( |
| ) |
const |
◆ getVolumetricSteps()
C3D_API uint32_t castor3d::LightCategory::getVolumetricSteps |
( |
| ) |
const |
◆ setColour()
C3D_API void castor3d::LightCategory::setColour |
( |
castor::Point3f const & |
value | ) |
|
◆ setDiffuseIntensity()
C3D_API void castor3d::LightCategory::setDiffuseIntensity |
( |
float |
value | ) |
|
◆ setIntensity()
C3D_API void castor3d::LightCategory::setIntensity |
( |
castor::Point2f const & |
value | ) |
|
◆ setPcfMaxSlopeOffset()
C3D_API void castor3d::LightCategory::setPcfMaxSlopeOffset |
( |
float |
value | ) |
|
◆ setPcfMinOffset()
C3D_API void castor3d::LightCategory::setPcfMinOffset |
( |
float |
value | ) |
|
◆ setRawMaxSlopeOffset()
C3D_API void castor3d::LightCategory::setRawMaxSlopeOffset |
( |
float |
value | ) |
|
◆ setRawMinOffset()
C3D_API void castor3d::LightCategory::setRawMinOffset |
( |
float |
value | ) |
|
◆ setSpecularIntensity()
C3D_API void castor3d::LightCategory::setSpecularIntensity |
( |
float |
value | ) |
|
◆ setVolumetricScatteringFactor()
C3D_API void castor3d::LightCategory::setVolumetricScatteringFactor |
( |
float |
value | ) |
|
◆ setVolumetricSteps()
C3D_API void castor3d::LightCategory::setVolumetricSteps |
( |
uint32_t |
value | ) |
|
◆ setVsmMaxVariance()
C3D_API void castor3d::LightCategory::setVsmMaxVariance |
( |
float |
value | ) |
|
◆ setVsmVarianceBias()
C3D_API void castor3d::LightCategory::setVsmVarianceBias |
( |
float |
value | ) |
|
◆ update()
virtual C3D_API void castor3d::LightCategory::update |
( |
| ) |
|
|
pure virtual |
◆ updateNode()
virtual C3D_API void castor3d::LightCategory::updateNode |
( |
SceneNode const & |
node | ) |
|
|
protectedpure virtual |
Met à jour les informations de la source lumineuse, relatives au noeud de scène.
- Paramètres
-
[in] | node | Le noeud de scène. |
◆ Light
◆ m_cubeBox
castor::BoundingBox castor3d::LightCategory::m_cubeBox |
|
protected |
La cube box pour le volume d'effet de la lumière.
Référencé par getBoundingBox().
◆ m_farPlane
float castor3d::LightCategory::m_farPlane { 1.0f } |
|
protected |
◆ m_shadowMapIndex
int32_t castor3d::LightCategory::m_shadowMapIndex { -1 } |
|
protected |
L'index de la shadow map de la source lumineuse.
La documentation de cette classe a été générée à partir du fichier suivant :