26class EXPCL_PANDA_PGRAPHNODES UvScrollNode :
public PandaNode {
28 INLINE
explicit UvScrollNode(
const std::string &name, PN_stdfloat u_speed, PN_stdfloat v_speed, PN_stdfloat w_speed, PN_stdfloat r_speed);
29 INLINE
explicit UvScrollNode(
const std::string &name);
32 INLINE UvScrollNode(
const UvScrollNode ©);
41 INLINE
void set_u_speed(PN_stdfloat u_speed);
42 INLINE
void set_v_speed(PN_stdfloat v_speed);
43 INLINE
void set_w_speed(PN_stdfloat w_speed);
44 INLINE
void set_r_speed(PN_stdfloat r_speed);
45 INLINE PN_stdfloat get_u_speed()
const;
46 INLINE PN_stdfloat get_v_speed()
const;
47 INLINE PN_stdfloat get_w_speed()
const;
48 INLINE PN_stdfloat get_r_speed()
const;
51 MAKE_PROPERTY(u_speed, get_u_speed, set_u_speed);
52 MAKE_PROPERTY(v_speed, get_v_speed, set_v_speed);
53 MAKE_PROPERTY(w_speed, get_w_speed, set_w_speed);
54 MAKE_PROPERTY(r_speed, get_r_speed, set_r_speed);
69 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
76 static void init_type() {
77 PandaNode::init_type();
79 PandaNode::get_class_type());
82 return get_class_type();
84 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data)
This function will be called during the cull traversal to perform any additional operations that shou...
virtual bool safe_to_combine() const
Returns true if it is generally safe to combine this particular kind of PandaNode with other kinds of...
static void register_with_read_factory()
Tells the BamReader how to create objects of type PandaNode.
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
virtual bool safe_to_flatten() const
Returns true if it is generally safe to flatten out this particular kind of PandaNode by duplicating ...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...