Inheritance diagram for DirectionalLight::CData:
Public Member Functions | |
CData () | |
CData (const CData ©) | |
virtual CycleData * | make_copy () const |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) const |
Writes the contents of this object to the datagram for shipping out to a Bam file. | |
virtual void | fillin (DatagramIterator &scan, BamReader *manager) |
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Light. | |
virtual int | complete_pointers (TypedWritable **p_list, BamReader *manager) |
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). | |
Public Attributes | |
Colorf | _specular_color |
LPoint3f | _point |
LVector3f | _direction |
|
Definition at line 31 of file directionalLight.I. |
|
Definition at line 46 of file directionalLight.I. |
|
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). Returns the number of pointers processed. Reimplemented in GeomNode::CData, and PandaNode::CData. Definition at line 63 of file cycleData.cxx. |
|
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Light.
Reimplemented from CycleData. Definition at line 73 of file directionalLight.cxx. |
|
Implements CycleData. Definition at line 39 of file directionalLight.cxx. References _direction, _point, and _specular_color. |
|
Writes the contents of this object to the datagram for shipping out to a Bam file.
Reimplemented from CycleData. Definition at line 54 of file directionalLight.cxx. References _direction, _point, and _specular_color. |
|
Definition at line 75 of file directionalLight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 74 of file directionalLight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 73 of file directionalLight.h. Referenced by make_copy(), and write_datagram(). |