Internal information structure for storing information on lights.
More...
#include <kanzi/core.ui/graphics3d/gather_lights_render_pass.hpp>
Internal information structure for storing information on lights.
◆ LightInfo() [1/4]
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
Light & |
light | ) |
|
|
inlineexplicit |
◆ LightInfo() [2/4]
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
Light & |
light, |
|
|
const Matrix4x4 & |
transformModifier |
|
) |
| |
|
inlineexplicit |
Constructor.
- Parameters
-
light | Gathered light. |
transformModifier | Modifier for final transformation. |
◆ LightInfo() [3/4]
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
const LightInfo & |
other | ) |
|
|
inline |
Copy constructor.
- Parameters
-
◆ LightInfo() [4/4]
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
LightInfo && |
other | ) |
|
|
inline |
Move constructor.
- Parameters
-
◆ getLight()
Light* kanzi::GatherLightsRenderPass::LightInfo::getLight |
( |
| ) |
const |
|
inline |
Gets the referred light.
- Returns
- Pointer to light.
◆ extractLightRenderValue()
Extracts render value from this light info.
If property type is set, value name should be equal to property type name.
- Parameters
-
value | Value to write to. |
propertyType | Property type to extract. |
- Returns
- If the render value was read successfully, true, otherwise false.
◆ getFinalTransformation()
Matrix4x4 kanzi::GatherLightsRenderPass::LightInfo::getFinalTransformation |
( |
| ) |
const |
|
inline |
Gets the (potentially modified) final transformation from the light.
- Returns
- Final transformation.
◆ operator=() [1/2]
Copy operator.
- Parameters
-
◆ operator=() [2/2]
Move operator.
- Parameters
-
The documentation for this class was generated from the following file: