ColladaLight Struct Reference
This struct contains light data specifically for collada export Defaults set based on collada 1.4 specifications. More...
#include <ColladaExporter.hh>
Public Attributes | |
double | constantAttenuation = 1.0 |
Constant attentuation. | |
math::Color | diffuse |
Light diffuse color. | |
math::Vector3d | direction |
Light direction (directional/spot lights only) | |
double | falloffAngleDeg = 180.0 |
Falloff angle in degrees. | |
double | falloffExponent = 0.0 |
Fallof exponent. | |
double | linearAttenuation = 0.0 |
Linear attentuation. | |
std::string | name |
Name of the light. | |
math::Vector3d | position |
Light position (non directional lights only) | |
double | quadraticAttenuation = 0.0 |
Quadratic attentuation. | |
std::string | type |
Type of the light. Either "point", "directional" or "spot". | |
Detailed Description
This struct contains light data specifically for collada export Defaults set based on collada 1.4 specifications.
Member Data Documentation
◆ constantAttenuation
double constantAttenuation = 1.0 |
Constant attentuation.
◆ diffuse
math::Color diffuse |
Light diffuse color.
◆ direction
math::Vector3d direction |
Light direction (directional/spot lights only)
◆ falloffAngleDeg
double falloffAngleDeg = 180.0 |
Falloff angle in degrees.
◆ falloffExponent
double falloffExponent = 0.0 |
Fallof exponent.
◆ linearAttenuation
double linearAttenuation = 0.0 |
Linear attentuation.
◆ name
std::string name |
Name of the light.
◆ position
math::Vector3d position |
Light position (non directional lights only)
◆ quadraticAttenuation
double quadraticAttenuation = 0.0 |
Quadratic attentuation.
◆ type
std::string type |
Type of the light. Either "point", "directional" or "spot".
The documentation for this struct was generated from the following file: