30 _pivot.set(0.0, 0.0, 0.0);
54 if (_parent == 0xffff) {
66 write(std::ostream &out,
int indent_level)
const {
68 <<
get_id() <<
" { number = " << _number <<
", flags = 0x" 69 << std::hex << _flags << std::dec <<
", pivot = " << _pivot
70 <<
", _name = \"" << _name <<
"\", _parent = " << _parent <<
" }\n";
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.
void make_generic()
Resets the layer's parameters to initial defaults for a generic layer created implicitly.
IffId get_id() const
Returns the ID associated with this chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.