PartBundleHandle
from panda3d.core import PartBundleHandle
- class PartBundleHandle
Bases:
Bases:
ReferenceCountThis is a trivial class returned by
PartBundleNode.getBundle(). Its purpose is to hold the actualPartBundlepointer contained within thePartBundleNode, so that scene graph flatten operations can safely combine or duplicatePartBundlesas 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.Inheritance diagram
- __init__(bundle: PartBundle)
- __init__(param0: PartBundleHandle)
- property bundle PartBundle
Returns/Changes the actual
PartBundleembedded within the handle.
- getBundle() PartBundle
Returns the actual
PartBundleembedded within the handle.
- setBundle(bundle: PartBundle)
Changes the actual
PartBundleembedded within the handle.
