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

This is a node that contains a pointer to an AnimBundle. More...

Inheritance diagram for AnimBundleNode:
PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject

List of all members.

Public Member Functions

 AnimBundleNode (string name, AnimBundle bundle)
 The AnimBundle and its node should be constructed together.
AnimBundle getBundle ()

Static Public Member Functions

static AnimBundle findAnimBundle (PandaNode root)
 Recursively walks the scene graph beginning at the indicated node (which need not be an AnimBundleNode), and returns the first AnimBundle found.
static TypeHandle getClassType ()

Detailed Description

This is a node that contains a pointer to an AnimBundle.

Like PartBundleNode, it exists solely to make it easy to store AnimBundles in the scene graph.


Constructor & Destructor Documentation

AnimBundleNode ( string  name,
AnimBundle  bundle 
)

The AnimBundle and its node should be constructed together.

Generally, the derived classes of AnimBundleNode will automatically create a AnimBundle of the appropriate type, and pass it up to this constructor.


Member Function Documentation

static AnimBundle findAnimBundle ( PandaNode  root) [static]

Recursively walks the scene graph beginning at the indicated node (which need not be an AnimBundleNode), and returns the first AnimBundle found.

Returns NULL if no AnimBundle can be found.

static TypeHandle getClassType ( ) [static]

Reimplemented from PandaNode.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties