Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ForceGroup Class Reference
Inheritance diagram for ForceGroup:
DirectObject GlobalForceGroup

Public Member Functions

def __init__ (self, name=None)
 
def __getitem__ (self, index)
 
def __len__ (self)
 
def addForce (self, force)
 
def asList (self)
 
def cleanup (self)
 
def disable (self)
 
def enable (self)
 
def getName (self)
 
def getNode (self)
 
def getNodePath (self)
 
def isEnabled (self)
 
def printParams (self, file=sys.stdout, targ='self')
 
def removeForce (self, force)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, *args, **kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, *args, **kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 fEnabled
 
 name
 
 node
 
 nodePath
 
 particleEffect
 

Static Public Attributes

int id = 1
 
 notify = DirectNotifyGlobal.directNotify.newCategory('ForceGroup')
 
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
 
def add_task = addTask
 
def detect_leaks = detectLeaks
 
def do_method_later = doMethodLater
 
def get_all_accepting = getAllAccepting
 
def ignore_all = ignoreAll
 
def is_accepting = isAccepting
 
def is_ignoring = isIgnoring
 
def remove_all_tasks = removeAllTasks
 
def remove_task = removeTask
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name = None 
)

Reimplemented in GlobalForceGroup.

Member Function Documentation

◆ __getitem__()

def __getitem__ (   self,
  index 
)

◆ __len__()

def __len__ (   self)

◆ addForce()

def addForce (   self,
  force 
)

Reimplemented in GlobalForceGroup.

◆ asList()

def asList (   self)

◆ cleanup()

def cleanup (   self)

◆ disable()

def disable (   self)
Convenience function to disable all forces in force group

◆ enable()

def enable (   self)
Convenience function to enable all forces in force group

◆ getName()

def getName (   self)

◆ getNode()

def getNode (   self)

◆ getNodePath()

def getNodePath (   self)

◆ isEnabled()

def isEnabled (   self)

◆ printParams()

def printParams (   self,
  file = sys.stdout,
  targ = 'self' 
)

◆ removeForce()

def removeForce (   self,
  force 
)

Reimplemented in GlobalForceGroup.

Member Data Documentation

◆ fEnabled

fEnabled

◆ id

int id = 1
static

◆ name

name

◆ node

node

◆ nodePath

nodePath

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory('ForceGroup')
static

◆ particleEffect

particleEffect