AnimChannelMatrixDynamic¶

from panda3d.core import AnimChannelMatrixDynamic

class AnimChannelMatrixDynamic

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

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)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_nodePandaNode
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.