AnimChannelMatrixDynamic

from panda3d.core import AnimChannelMatrixDynamic
class AnimChannelMatrixDynamic

Bases:

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 call set_value_node() to indicate the node whose transform will be copied to the joint each frame.

Inheritance diagram

Inheritance diagram of AnimChannelMatrixDynamic

static get_class_type() TypeHandle
get_value_node() PandaNode

Returns the node that was set via set_value_node(), if any.

get_value_transform() TransformState

Returns the explicit TransformState value that was set via set_value(), if any.

set_value(value: LMatrix4)

Explicitly sets the matrix value.

set_value(value: TransformState)

Explicitly sets the matrix value, using the indicated TransformState object as a convenience.

set_value_node(node: PandaNode)

Specifies a node whose transform will be queried each frame to implicitly specify the transform of this joint.

property value_node PandaNode
Getter

Returns the node that was set via set_value_node(), if any.

Setter

Specifies a node whose transform will be queried each frame to implicitly specify the transform of this joint.