Panda3D
|
This VertexTransform gets its matrix from the Transform stored on a node. More...
#include "nodeVertexTransform.h"
Public Member Functions | |
NodeVertexTransform (const PandaNode *node, const VertexTransform *prev=NULL) | |
virtual TypeHandle | force_init_type () |
virtual void | get_matrix (LMatrix4 &matrix) const |
Returns the transform of the associated node, composed with the previous VertexTransform if any, expressed as a matrix. | |
const PandaNode * | get_node () const |
Returns the PandaNode whose transform supplies this object. | |
const VertexTransform * | get_prev () const |
Returns the VertexTransform object whose matrix will be composed with the result of this node's transform. | |
virtual TypeHandle | get_type () const |
virtual void | output (ostream &out) const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Friends | |
class | RigidBodyCombiner |
This VertexTransform gets its matrix from the Transform stored on a node.
It can also compose its node's transform with another VertexTransform, allowing you to build up a chain of NodeVertexTransforms that represent a list of composed matrices.
Definition at line 33 of file nodeVertexTransform.h.
void NodeVertexTransform::get_matrix | ( | LMatrix4 & | matrix | ) | const [virtual] |
Returns the transform of the associated node, composed with the previous VertexTransform if any, expressed as a matrix.
Implements VertexTransform.
Definition at line 40 of file nodeVertexTransform.cxx.
const PandaNode * NodeVertexTransform::get_node | ( | ) | const [inline] |
Returns the PandaNode whose transform supplies this object.
Definition at line 23 of file nodeVertexTransform.I.
const VertexTransform * NodeVertexTransform::get_prev | ( | ) | const [inline] |
Returns the VertexTransform object whose matrix will be composed with the result of this node's transform.
Definition at line 34 of file nodeVertexTransform.I.