AnimChannelScalarDynamic

from panda3d.core import AnimChannelScalarDynamic
class AnimChannelScalarDynamic

Bases: AnimChannel_ACScalarSwitchType

An animation channel that accepts a scalar 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 X component will be copied to the scalar each frame.

Inheritance diagram

Inheritance diagram of AnimChannelScalarDynamic

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()

setValue()

C++ Interface: set_value(const AnimChannelScalarDynamic self, float value)

/**
  • Explicitly sets the value. This will remove any node assigned via

  • set_value_node().

*/

setValueNode()

C++ Interface: set_value_node(const AnimChannelScalarDynamic self, PandaNode node)

/**
  • Specifies a node whose transform will be queried each frame to implicitly

  • specify the transform of this joint. This will override the values set by

  • set_value().

*/

set_value()

C++ Interface: set_value(const AnimChannelScalarDynamic self, float value)

/**
  • Explicitly sets the value. This will remove any node assigned via

  • set_value_node().

*/

set_value_node()

C++ Interface: set_value_node(const AnimChannelScalarDynamic self, PandaNode node)

/**
  • Specifies a node whose transform will be queried each frame to implicitly

  • specify the transform of this joint. This will override the values set by

  • set_value().

*/

value
value_node