#include <domLight.h>
The point element declares the parameters required to describe a point light source. A point light source radiates light in all directions from a known location in space. The intensity of a point light source is attenuated as the distance to the light source increases. The position of the light is defined by the transform of the node in which it is instantiated.
Definition at line 182 of file 1.4/dom/domLight.h.
domLight::domTechnique_common::domPoint::domPoint | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 239 of file 1.4/dom/domLight.h.
virtual domLight::domTechnique_common::domPoint::~domPoint | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 243 of file 1.4/dom/domLight.h.
domLight::domTechnique_common::domPoint::domPoint | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 231 of file dom/domLight.h.
virtual domLight::domTechnique_common::domPoint::~domPoint | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 235 of file dom/domLight.h.
static DLLSPEC daeElementRef domLight::domTechnique_common::domPoint::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
static DLLSPEC daeElementRef domLight::domTechnique_common::domPoint::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
const domTargetable_float3Ref domLight::domTechnique_common::domPoint::getColor | ( | ) | const [inline] |
Gets the color element.
Definition at line 211 of file dom/domLight.h.
const domTargetableFloat3Ref domLight::domTechnique_common::domPoint::getColor | ( | ) | const [inline] |
Gets the color element.
Definition at line 219 of file 1.4/dom/domLight.h.
const domTargetable_floatRef domLight::domTechnique_common::domPoint::getConstant_attenuation | ( | ) | const [inline] |
Gets the constant_attenuation element.
Definition at line 216 of file dom/domLight.h.
const domTargetableFloatRef domLight::domTechnique_common::domPoint::getConstant_attenuation | ( | ) | const [inline] |
Gets the constant_attenuation element.
Definition at line 224 of file 1.4/dom/domLight.h.
virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domPoint::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 177 of file dom/domLight.h.
virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domPoint::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 185 of file 1.4/dom/domLight.h.
const domTargetable_floatRef domLight::domTechnique_common::domPoint::getLinear_attenuation | ( | ) | const [inline] |
Gets the linear_attenuation element.
Definition at line 221 of file dom/domLight.h.
const domTargetableFloatRef domLight::domTechnique_common::domPoint::getLinear_attenuation | ( | ) | const [inline] |
Gets the linear_attenuation element.
Definition at line 229 of file 1.4/dom/domLight.h.
const domTargetable_floatRef domLight::domTechnique_common::domPoint::getQuadratic_attenuation | ( | ) | const [inline] |
Gets the quadratic_attenuation element.
Definition at line 226 of file dom/domLight.h.
const domTargetableFloatRef domLight::domTechnique_common::domPoint::getQuadratic_attenuation | ( | ) | const [inline] |
Gets the quadratic_attenuation element.
Definition at line 234 of file 1.4/dom/domLight.h.
static daeInt domLight::domTechnique_common::domPoint::ID | ( | ) | [inline, static] |
Definition at line 178 of file dom/domLight.h.
static daeInt domLight::domTechnique_common::domPoint::ID | ( | ) | [inline, static] |
Definition at line 186 of file 1.4/dom/domLight.h.
virtual domPoint& domLight::domTechnique_common::domPoint::operator= | ( | const domPoint & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 239 of file dom/domLight.h.
virtual domPoint& domLight::domTechnique_common::domPoint::operator= | ( | const domPoint & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 247 of file 1.4/dom/domLight.h.
static DLLSPEC daeMetaElement* domLight::domTechnique_common::domPoint::registerElement | ( | DAE & | dae | ) | [static] |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.
static DLLSPEC daeMetaElement* domLight::domTechnique_common::domPoint::registerElement | ( | DAE & | dae | ) | [static] |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.
virtual daeInt domLight::domTechnique_common::domPoint::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 179 of file dom/domLight.h.
virtual daeInt domLight::domTechnique_common::domPoint::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 187 of file 1.4/dom/domLight.h.
The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.
Definition at line 186 of file dom/domLight.h.
The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.
Definition at line 194 of file 1.4/dom/domLight.h.
domTargetable_floatRef domLight::domTechnique_common::domPoint::elemConstant_attenuation [protected] |
The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 192 of file dom/domLight.h.
The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 200 of file 1.4/dom/domLight.h.
The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 198 of file dom/domLight.h.
The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 206 of file 1.4/dom/domLight.h.
domTargetable_floatRef domLight::domTechnique_common::domPoint::elemQuadratic_attenuation [protected] |
The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 204 of file dom/domLight.h.
domTargetableFloatRef domLight::domTechnique_common::domPoint::elemQuadratic_attenuation [protected] |
The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.
Definition at line 212 of file 1.4/dom/domLight.h.