Gazebo Common

API Reference

5.6.0
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. More...
 
math::Color diffuse
 Light diffuse color. More...
 
math::Vector3d direction
 Light direction (directional/spot lights only) More...
 
double falloffAngleDeg = 180.0
 Falloff angle in degrees. More...
 
double falloffExponent = 0.0
 Fallof exponent. More...
 
double linearAttenuation = 0.0
 Linear attentuation. More...
 
std::string name
 Name of the light. More...
 
math::Vector3d position
 Light position (non directional lights only) More...
 
double quadraticAttenuation = 0.0
 Quadratic attentuation. More...
 
std::string type
 Type of the light. Either "point", "directional" or "spot". More...
 

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

Name of the light.

◆ position

math::Vector3d position

Light position (non directional lights only)

◆ quadraticAttenuation

double quadraticAttenuation = 0.0

Quadratic attentuation.

◆ type

Type of the light. Either "point", "directional" or "spot".


The documentation for this struct was generated from the following file: