Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# PartBundleHandle Class Reference

This is a trivial class returned by PartBundleNode.get_bundle(). More...

Inheritance diagram for PartBundleHandle:

List of all members.

## Public Member Functions
| PartBundleHandle (PartBundle bundle)
PartBundle | getBundle ()
| Returns the actual PartBundle embedded within the handle.
| setBundle (PartBundle bundle)
| Changes the actual PartBundle embedded within the handle.

## Detailed Description

This is a trivial class returned by PartBundleNode.get_bundle().

Its purpose is to hold the actual PartBundle pointer contained within the PartBundleNode, so that scene graph flatten operations can safely combine or duplicate PartBundles as necessary without affecting high-level bundle operations.

The high-level Actor class defined in direct/src/actor, for instance, will store a list of PartBundleHandles instead of on actual PartBundles, so that it will be immune to changes from these flatten operations.

## Constructor & Destructor Documentation

PartBundleHandle | ( | PartBundle | bundle | ) |

## Member Function Documentation

PartBundle getBundle | ( |  | ) |

Returns the actual PartBundle embedded within the handle.

setBundle | ( | PartBundle | bundle | ) |

Changes the actual PartBundle embedded within the handle.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties