Panda3D
Loading...
Searching...
No Matches
auxSceneData.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file auxSceneData.cxx
10 * @author drose
11 * @date 2004-09-27
12 */
13
14#include "auxSceneData.h"
15#include "indent.h"
16
17TypeHandle AuxSceneData::_type_handle;
18
19/**
20 *
21 */
22void AuxSceneData::
23output(std::ostream &out) const {
24 out << get_type() << " expires " << get_expiration_time();
25}
26
27/**
28 *
29 */
30void AuxSceneData::
31write(std::ostream &out, int indent_level) const {
32 indent(out, indent_level) << *this << "\n";
33}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
double get_expiration_time() const
Returns the frame_time at which this AuxSceneData object is currently scheduled to be removed from th...
TypeHandle is the identifier used to differentiate C++ class types.
Definition typeHandle.h:81
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition indent.cxx:20
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.