15 #include "uvScrollNode.h"
17 #include "bamReader.h"
18 #include "cullTraverserData.h"
20 #include "datagramIterator.h"
22 #include "renderState.h"
23 #include "texMatrixAttrib.h"
24 #include "textureStage.h"
25 #include "transformState.h"
83 parse_params(params, scan, manager);
84 node->fillin(scan, manager);
98 PandaNode::fillin(scan, manager);
139 CPT(TransformState) ts = TransformState::make_pos_hpr(
140 LVecBase3(cmod(elapsed * _u_speed, 1.0) / 1.0,
141 cmod(elapsed * _v_speed, 1.0) / 1.0,
142 cmod(elapsed * _w_speed, 1.0) / 1.0),
143 LVecBase3((cmod(elapsed * _r_speed, 1.0) / 1.0) * 360, 0, 0));
146 CPT(
RenderState) rs = RenderState::make_empty()->set_attrib(tm);
147 data._state = data._state->compose(rs);
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
A basic node of the scene graph or data graph.
This is the base class for all three-component vectors and points.
PN_stdfloat get_stdfloat()
Extracts either a 32-bit or a 64-bit floating-point number, according to Datagram::set_stdfloat_doubl...
This is the base class for a number of render attributes (other than transform) that may be set on sc...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
void add_stdfloat(PN_stdfloat value)
Adds either a 32-bit or a 64-bit floating-point number, according to set_stdfloat_double().
double get_frame_time(Thread *current_thread=Thread::get_current_thread()) const
Returns the time in seconds as of the last time tick() was called (typically, this will be as of the ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
void register_factory(TypeHandle handle, CreateFunc *func)
Registers a new kind of thing the Factory will be able to create.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
A class to retrieve the individual data elements previously stored in a Datagram. ...
int get_file_minor_ver() const
Returns the minor version number of the Bam file currently being read.
TypeHandle is the identifier used to differentiate C++ class types.
static TextureStage * get_default()
Returns the default TextureStage that will be used for all texturing that does not name a particular ...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling...