direct.directtools.DirectSelection¶
from direct.directtools.DirectSelection import DirectBoundingBox, DirectNodePath, SelectedNodePaths, SelectionQueue, SelectionRay, SelectionSegment, SelectionSphere
Inheritance diagram
-
class
DirectNodePath
(nodePath, bboxColor=None)[source]¶ Bases:
panda3d.core.NodePath
-
class
SelectedNodePaths
[source]¶ Bases:
direct.showbase.DirectObject.DirectObject
-
forEachDeselectedNodePathDo
(self, func)[source]¶ Perform given func on deselected node paths. No node path connectivity verification performed
-
forEachSelectedNodePathDo
(self, func)[source]¶ Perform given func on selected node paths. No node path connectivity verification performed
-
getDeselectedDict
(self, id)[source]¶ Search deselectedDict for node path, try to repair broken node paths.
-
getSelectedAsList
(self)[source]¶ Return a list of all selected node paths. No verification of connectivity is performed on the members of the list
-
getSelectedDict
(self, id)[source]¶ Search selectedDict for node path, try to repair broken node paths.
-
-
class
SelectionRay
(parentNP=None)[source]¶ Bases:
direct.directtools.DirectSelection.SelectionQueue
-
pickBitMask
(self, bitMask= 0000 0000 0000 0000 0000 0000 0000 0000, targetNodePath=None, skipFlags=31)[source]¶
-
pickBitMask3D
(self, bitMask= 0000 0000 0000 0000 0000 0000 0000 0000, targetNodePath=None, origin=LPoint3f(0, 0, 0), dir=LVector3f(0, 0, -1), skipFlags=31)[source]¶
-
-
class
SelectionSegment
(parentNP=None, numSegments=1)[source]¶
-
class
SelectionSphere
(parentNP=None, numSpheres=1)[source]¶