14 #ifndef EGGANIMPRELOAD_H 15 #define EGGANIMPRELOAD_H 30 INLINE
void set_fps(
double fps);
31 INLINE
void clear_fps();
32 INLINE
bool has_fps()
const;
33 INLINE
double get_fps()
const;
35 INLINE
void set_num_frames(
int num_frames);
36 INLINE
void clear_num_frames();
37 INLINE
bool has_num_frames()
const;
38 INLINE
int get_num_frames()
const;
40 virtual void write(std::ostream &out,
int indent_level)
const;
52 static void init_type() {
55 EggNode::get_class_type());
58 return get_class_type();
60 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This corresponds to an <AnimPreload> entry.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things that may be directly added into the egg hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.