AnimChannelMatrixDynamic
-
class AnimChannelMatrixDynamic
Bases:
AnimChannel< ACMatrixSwitchType >
An animation channel that accepts a matrix each frame from some dynamic input provided by code.
This object operates in two modes: in explicit mode, the programmer should call
set_value()
each frame to indicate the new value; in implicit mode, the programmer should callset_value_node()
to indicate the node whose transform will be copied to the joint each frame.Inheritance diagram
-
static TypeHandle get_class_type(void)
-
PandaNode *get_value_node(void) const
Returns the node that was set via
set_value_node()
, if any.
-
TransformState const *get_value_transform(void) const
Returns the explicit
TransformState
value that was set viaset_value()
, if any.
-
void set_value(TransformState const *value)
Explicitly sets the matrix value.
Explicitly sets the matrix value, using the indicated
TransformState
object as a convenience.
-
static TypeHandle get_class_type(void)