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 setValue() each frame to indicate the new value; in implicit mode, the programmer should call setValueNode() to indicate the node whose transform will be copied to the joint each frame.

Inheritance diagram

Inheritance diagram of AnimChannelMatrixDynamic

static getClassType() TypeHandle
getValueNode() PandaNode

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

getValueTransform() TransformState

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

setValue(value: LMatrix4)

Explicitly sets the matrix value.

setValue(value: TransformState)

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

setValueNode(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 setValueNode(), if any.

Setter

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