Panda3D
Public Member Functions | Static Public Member Functions

AnimChannelScalarDynamic Class Reference

An animation channel that accepts a scalar each frame from some dynamic input provided by code. More...

Inheritance diagram for AnimChannelScalarDynamic:
AnimChannelScalar AnimChannelBase AnimGroup TypedWritableReferenceCount Namable TypedWritable ReferenceCount TypedObject

List of all members.

Public Member Functions

 setValue (float value)
 Explicitly sets the value.
 setValueNode (PandaNode node)
 Specifies a node whose transform will be queried each frame to implicitly specify the transform of this joint.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

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.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from AnimChannelScalar.

setValue ( float  value)

Explicitly sets the value.

setValueNode ( PandaNode  node)

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

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties