15 #ifndef FLTLIGHTSOURCEDEFINITION_H 16 #define FLTLIGHTSOURCEDEFINITION_H 18 #include "pandatoolbase.h" 20 #include "fltRecord.h" 46 LightType _light_type;
47 PN_stdfloat _exponential_dropoff;
48 PN_stdfloat _cutoff_angle;
55 PN_stdfloat _constant_coefficient;
56 PN_stdfloat _linear_coefficient;
57 PN_stdfloat _quadratic_coefficient;
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
72 static void init_type() {
73 FltRecord::init_type();
74 register_type(_type_handle,
"FltLightSourceDefinition",
75 FltRecord::get_class_type());
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly...
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
Represents a single entry in the light source palette.
The base class for all kinds of records in a MultiGen OpenFlight file.
This is the base class for all three-component vectors and points.
TypeHandle is the identifier used to differentiate C++ class types.