PartBundleNode
from panda3d.core import PartBundleNode
- class PartBundleNode
Bases:
Bases:
PandaNodeThis is a node that contains a pointer to an
PartBundle. LikeAnimBundleNode, it exists to make it easy to storePartBundlesin the scene graph.(Unlike
AnimBundleNode, however, PartBundleNode has an additional function: it is also the base class of the Character node type, which adds additional functionality.)Inheritance diagram
- __init__(name: str, bundle: PartBundle)
The
PartBundleand its node should be constructed together. Generally, the derived classes ofPartBundleNodewill automatically create aPartBundleof the appropriate type, and pass it up to this constructor.
- property bundle_handles Sequence[PartBundleHandle]
Returns the
PartBundleHandlethat wraps around the actual nthPartBundle. While thePartBundlepointer might later change due to a future flatten operation, thePartBundleHandlewill not.
- property bundles Sequence[PartBundle]
- getBundle(n: int) PartBundle
- getBundleHandle(n: int) PartBundleHandle
Returns the
PartBundleHandlethat wraps around the actual nthPartBundle. While thePartBundlepointer might later change due to a future flatten operation, thePartBundleHandlewill not.
- static getClassType() TypeHandle
