20 TypeHandle LwoSurfaceBlockOpacity::_type_handle;
42 void LwoSurfaceBlockOpacity::
43 write(std::ostream &out,
int indent_level)
const {
45 <<
get_id() <<
" { type = " << (int)_type
46 <<
", opacity = " << _opacity * 100.0 <<
"%, envelope = " << _envelope
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
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.