Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SelectionSphere Class Reference
Inheritance diagram for SelectionSphere:

## Public Member Functions
| __init__ (self, parentNP=None, numSpheres=1)
| addCollider (self, collider)
| isEntryBackfacing (self, entry)
| pick (self, targetNodePath, skipFlags)
| pickBitMask (self, bitMask=BitMask32.allOff(), targetNodePath=None, skipFlags=SKIP_HIDDEN|SKIP_CAMERA)
| pickGeom (self, targetNodePath=None, skipFlags=SKIP_HIDDEN|SKIP_CAMERA)
| setCenter (self, i, center)
| setCenterRadius (self, i, center, radius)
| setRadius (self, i, radius)
Public Member Functions inherited from SelectionQueue
| __init__ (self, parentNP=None)
| addUnpickable (self, item)
| collideWithBitMask (self, bitMask)
| collideWithGeom (self)
| collideWithWidget (self)
| findCollisionEntry (self, skipFlags=SKIP_NONE, startIndex=0)
| findNextCollisionEntry (self, skipFlags=SKIP_NONE)
| getCurrentEntry (self)
| removeUnpickable (self, item)
| setCurrentEntry (self, entry)
| setCurrentIndex (self, index)
| setParentNP (self, parentNP)

## Public Attributes
list | colliders = []
int | numColliders = 0
Public Attributes inherited from SelectionQueue
| collider = collider
| collisionNode = self.collisionNodePath.node()
| collisionNodePath = NodePath(CollisionNode("collisionNP"))
| ct = CollisionTraverser("DirectSelection")
| entry = None
int | index = -1
| skipFlags = SKIP_NONE
| unpickable = UNPICKABLE

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | parentNP = None,
|  |  | numSpheres = 1 )

## Member Function Documentation

## ◆ addCollider()

addCollider | ( |  | self,
|  |  | collider )

Reimplemented from SelectionQueue.

## ◆ isEntryBackfacing()

isEntryBackfacing | ( |  | self,
|  |  | entry )

Reimplemented from SelectionQueue.

## ◆ pick()

pick | ( |  | self,
|  |  | targetNodePath,
|  |  | skipFlags )

## ◆ pickBitMask()

pickBitMask | ( |  | self,
|  |  | bitMask = BitMask32.allOff(),
|  |  | targetNodePath = None,
|  |  | skipFlags = SKIP_HIDDEN | SKIP_CAMERA )

## ◆ pickGeom()

pickGeom | ( |  | self,
|  |  | targetNodePath = None,
|  |  | skipFlags = SKIP_HIDDEN | SKIP_CAMERA )

## ◆ setCenter()

setCenter | ( |  | self,
|  |  | i,
|  |  | center )

## ◆ setCenterRadius()

setCenterRadius | ( |  | self,
|  |  | i,
|  |  | center,
|  |  | radius )

## ◆ setRadius()

setRadius | ( |  | self,
|  |  | i,
|  |  | radius )

## Member Data Documentation

## ◆ colliders

list colliders = []

## ◆ numColliders

int numColliders = 0