A node that automatically cycles through rendering each one of its children according to its frame rate. More...
Public Member Functions | |
SequenceNode (string name) | |
int | getNumFrames () |
Returns the number of frames in the animation. | |
setFrameRate (double frame_rate) | |
Changes the advertised frame rate of the SequenceNode. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A node that automatically cycles through rendering each one of its children according to its frame rate.
SequenceNode | ( | string | name | ) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from SelectiveChildNode.
int getNumFrames | ( | ) |
Returns the number of frames in the animation.
This is a property of the animation and may not be directly adjusted by the user (although it may change without warning with certain kinds of animations, since this is a virtual method that may be overridden).
Reimplemented from AnimInterface.
setFrameRate | ( | double | frame_rate | ) |
Changes the advertised frame rate of the SequenceNode.
This can be used in conjunction with get_play_rate() to change the effective frame rate of the node.