Inheritance diagram for PointLight::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 |
LVecBase3f | _attenuation |
LPoint3f | _point |
|
Definition at line 31 of file pointLight.I. |
|
Definition at line 46 of file pointLight.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 pointLight.cxx. |
|
Implements CycleData. Definition at line 39 of file pointLight.cxx. References _attenuation, _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 pointLight.cxx. References _attenuation, _point, and _specular_color. |
|
Definition at line 74 of file pointLight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 75 of file pointLight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 73 of file pointLight.h. Referenced by make_copy(), and write_datagram(). |