#include <domLight.h>
Public Member Functions | |
const domTargetable_float3Ref | getColor () const |
const domTargetableFloat3Ref | getColor () const |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
virtual daeInt | typeID () const |
virtual daeInt | typeID () const |
Static Public Member Functions | |
static DLLSPEC daeElementRef | create (DAE &dae) |
static DLLSPEC daeElementRef | create (DAE &dae) |
static daeInt | ID () |
static daeInt | ID () |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domDirectional (DAE &dae) | |
domDirectional (DAE &dae) | |
virtual domDirectional & | operator= (const domDirectional &cpy) |
virtual domDirectional & | operator= (const domDirectional &cpy) |
virtual | ~domDirectional () |
virtual | ~domDirectional () |
Protected Attributes | |
domTargetable_float3Ref | elemColor |
domTargetableFloat3Ref | elemColor |
The directional element declares the parameters required to describe a directional light source. A directional light is one that lights everything from the same direction, regardless of location. The light’s default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.
The directional element declares the parameters required to describe a directional light source. A directional light is one that lights everything from the same direction, regardless of location. The light's default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.
Definition at line 122 of file 1.4/dom/domLight.h.
domLight::domTechnique_common::domDirectional::domDirectional | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 146 of file 1.4/dom/domLight.h.
virtual domLight::domTechnique_common::domDirectional::~domDirectional | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 150 of file 1.4/dom/domLight.h.
domLight::domTechnique_common::domDirectional::domDirectional | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 138 of file dom/domLight.h.
virtual domLight::domTechnique_common::domDirectional::~domDirectional | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 142 of file dom/domLight.h.
static DLLSPEC daeElementRef domLight::domTechnique_common::domDirectional::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
static DLLSPEC daeElementRef domLight::domTechnique_common::domDirectional::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
const domTargetable_float3Ref domLight::domTechnique_common::domDirectional::getColor | ( | ) | const [inline] |
Gets the color element.
Definition at line 133 of file dom/domLight.h.
const domTargetableFloat3Ref domLight::domTechnique_common::domDirectional::getColor | ( | ) | const [inline] |
Gets the color element.
Definition at line 141 of file 1.4/dom/domLight.h.
virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domDirectional::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 117 of file dom/domLight.h.
virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domDirectional::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 125 of file 1.4/dom/domLight.h.
static daeInt domLight::domTechnique_common::domDirectional::ID | ( | ) | [inline, static] |
Definition at line 118 of file dom/domLight.h.
static daeInt domLight::domTechnique_common::domDirectional::ID | ( | ) | [inline, static] |
Definition at line 126 of file 1.4/dom/domLight.h.
virtual domDirectional& domLight::domTechnique_common::domDirectional::operator= | ( | const domDirectional & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 146 of file dom/domLight.h.
virtual domDirectional& domLight::domTechnique_common::domDirectional::operator= | ( | const domDirectional & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 154 of file 1.4/dom/domLight.h.
static DLLSPEC daeMetaElement* domLight::domTechnique_common::domDirectional::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::domDirectional::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::domDirectional::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 119 of file dom/domLight.h.
virtual daeInt domLight::domTechnique_common::domDirectional::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 127 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 126 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 134 of file 1.4/dom/domLight.h.