41 void LwoSurfaceColor::
42 write(std::ostream &out,
int indent_level)
const {
44 <<
get_id() <<
" { color = " << _color
45 <<
", envelope = " << _envelope <<
" }\n";
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
TypeHandle is the identifier used to differentiate C++ class types.
IffId get_id() const
Returns the ID associated with this chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.