panda3d.core.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 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
Return type

TypeHandle

getValueNode() → PandaNode

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

Return type

PandaNode

getValueTransform() → TransformState

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

Return type

TransformState

setValue(value: LMatrix4) → None

Explicitly sets the matrix value.

setValue(value: TransformState) → None

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

setValueNode(node: PandaNode) → None

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

property value_node
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.

Return type

PandaNode