Inheritance diagram for Spotlight::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 | |
float | _exponent |
Colorf | _specular_color |
LVecBase3f | _attenuation |
|
Definition at line 31 of file spotlight.I. |
|
Definition at line 46 of file spotlight.I. References INLINE. |
|
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 75 of file spotlight.cxx. |
|
Implements CycleData. Definition at line 41 of file spotlight.cxx. References _attenuation, _exponent, _specular_color, and Datagram::add_float32(). |
|
Writes the contents of this object to the datagram for shipping out to a Bam file.
Reimplemented from CycleData. Definition at line 56 of file spotlight.cxx. References _attenuation, _exponent, _specular_color, and DatagramIterator::get_float32(). |
|
Definition at line 101 of file spotlight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 99 of file spotlight.h. Referenced by make_copy(), and write_datagram(). |
|
Definition at line 100 of file spotlight.h. Referenced by make_copy(), and write_datagram(). |