PartSubset
from panda3d.core import PartSubset
- class PartSubset
Bases:
DTOOL_SUPER_BASE
This class is used to define a subset of part names to apply to the PartBundle::bind_anim() operation. Only those part names within the subset will be included in the bind.
Inheritance diagram
- __init__(*args, **kwargs)
- addExcludeJoint()
C++ Interface: add_exclude_joint(const PartSubset self, const GlobPattern name)
- /**
Adds the named joint to the list of joints that will be explicitly
exlcluded from the subset. Any joint at or below a named node will not be
included in the subset (unless a lower node is also listed in the include
list).
Since the name is a GlobPattern, it may of course include filename globbing
characters like * and ?.
*/
- addIncludeJoint()
C++ Interface: add_include_joint(const PartSubset self, const GlobPattern name)
- /**
Adds the named joint to the list of joints that will be explicitly included
in the subset. Any joint at or below a named node will be included in the
subset (unless a lower node is also listed in the exclude list).
Since the name is a GlobPattern, it may of course include filename globbing
characters like * and ?.
*/
- add_exclude_joint()
C++ Interface: add_exclude_joint(const PartSubset self, const GlobPattern name)
- /**
Adds the named joint to the list of joints that will be explicitly
exlcluded from the subset. Any joint at or below a named node will not be
included in the subset (unless a lower node is also listed in the include
list).
Since the name is a GlobPattern, it may of course include filename globbing
characters like * and ?.
*/
- add_include_joint()
C++ Interface: add_include_joint(const PartSubset self, const GlobPattern name)
- /**
Adds the named joint to the list of joints that will be explicitly included
in the subset. Any joint at or below a named node will be included in the
subset (unless a lower node is also listed in the exclude list).
Since the name is a GlobPattern, it may of course include filename globbing
characters like * and ?.
*/
- append()
C++ Interface: append(const PartSubset self, const PartSubset other)
- /**
Appends the include and exclude list from the other object onto this
object’s lists.
*/
- assign()
C++ Interface: assign(const PartSubset self, const PartSubset copy)
- isIncludeEmpty()
C++ Interface: is_include_empty(PartSubset self)
- /**
Returns true if the include list is completely empty, false otherwise. If
it is empty, it is the same thing as including all joints.
*/
- is_include_empty()
C++ Interface: is_include_empty(PartSubset self)
- /**
Returns true if the include list is completely empty, false otherwise. If
it is empty, it is the same thing as including all joints.
*/
- matchesExclude()
C++ Interface: matches_exclude(PartSubset self, str joint_name)
- /**
Returns true if the indicated name matches a name on the exclude list,
false otherwise.
*/
- matchesInclude()
C++ Interface: matches_include(PartSubset self, str joint_name)
- /**
Returns true if the indicated name matches a name on the include list,
false otherwise.
*/
- matches_exclude()
C++ Interface: matches_exclude(PartSubset self, str joint_name)
- /**
Returns true if the indicated name matches a name on the exclude list,
false otherwise.
*/