Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
SequenceNode Class Reference

A node that automatically cycles through rendering each one of its children according to its frame rate. More...

Inheritance diagram for SequenceNode:
SelectiveChildNode AnimInterface PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject

List of all members.

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 ()

Detailed Description

A node that automatically cycles through rendering each one of its children according to its frame rate.


Constructor & Destructor Documentation

SequenceNode ( string  name)

Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from SelectiveChildNode.

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.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties