Internal information structure for storing information on lights. More...
#include <kanzi/core.ui/graphics3d/gather_lights_render_pass.hpp>
Public Member Functions | |
bool | extractLightRenderValue (Variant &value, AbstractPropertyType propertyType) const |
Extracts render value from this light info. | |
Matrix4x4 | getFinalTransformation () const |
Gets the (potentially modified) final transformation from the light. | |
Light * | getLight () const |
Gets the referred light. | |
LightInfo (const LightInfo &other) | |
Copy constructor. | |
LightInfo (Light &light) | |
Constructor. | |
LightInfo (Light &light, const Matrix4x4 &transformModifier) | |
Constructor. | |
LightInfo (LightInfo &&other) | |
Move constructor. | |
LightInfo & | operator= (const LightInfo &other) |
Copy operator. | |
LightInfo & | operator= (LightInfo &&other) |
Move operator. | |
Internal information structure for storing information on lights.
|
inlineexplicit |
Constructor.
light | Gathered light. |
|
inlineexplicit |
Constructor.
light | Gathered light. |
transformModifier | Modifier for final transformation. |
Copy constructor.
other | Source object. |
|
inline |
Move constructor.
other | Source object. |
|
inline |
Gets the referred light.
bool kanzi::GatherLightsRenderPass::LightInfo::extractLightRenderValue | ( | Variant & | value, |
AbstractPropertyType | propertyType ) const |
Extracts render value from this light info.
If property type is set, value name should be equal to property type name.
value | Value to write to. |
propertyType | Property type to extract. |
|
inline |
Gets the (potentially modified) final transformation from the light.
Copy operator.
other | Source object. |
Move operator.
other | Source object. |