direct.directtools.DirectSelection
from direct.directtools.DirectSelection import DirectBoundingBox, DirectNodePath, SelectedNodePaths, SelectionQueue, SelectionRay, SelectionSegment, SelectionSphere
Inheritance diagram
- class SelectedNodePaths[source]
Bases:
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 SelectionQueue(parentNP=None)[source]
Bases:
CollisionHandlerQueue
- class SelectionRay(parentNP=None)[source]
Bases:
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]
Bases:
SelectionQueue
- class SelectionSphere(parentNP=None, numSpheres=1)[source]
Bases:
SelectionQueue