14 #ifndef FLTLIGHTSOURCEDEFINITION_H 15 #define FLTLIGHTSOURCEDEFINITION_H 39 std::string _light_name;
43 LightType _light_type;
44 PN_stdfloat _exponential_dropoff;
45 PN_stdfloat _cutoff_angle;
52 PN_stdfloat _constant_coefficient;
53 PN_stdfloat _linear_coefficient;
54 PN_stdfloat _quadratic_coefficient;
63 return get_class_type();
65 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
69 static void init_type() {
70 FltRecord::init_type();
72 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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Represents a single entry in the light source palette.
The base class for all kinds of records in a MultiGen OpenFlight file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.