15 #include "lwoSurfaceBlockOpacity.h" 16 #include "lwoInputFile.h" 21 TypeHandle LwoSurfaceBlockOpacity::_type_handle;
49 void LwoSurfaceBlockOpacity::
50 write(ostream &out,
int indent_level)
const {
51 indent(out, indent_level)
52 <<
get_id() <<
" { type = " << (int)_type
53 <<
", opacity = " << _opacity * 100.0 <<
"%, envelope = " << _envelope
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.