Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

DistributedActor Class Reference

Inheritance diagram for DistributedActor:
Actor

List of all members.

Public Member Functions

def __init__
def __cmp__
def __str__
def cleanup
def clearPythonData
def copyActor
def delete
def disable
def flush
def getActorInfo
def getAnimControlDict
def getAnimNames
def getGeomNode
def getLODNames
def getLODNode
def getPartBundleDict
def getPartBundles
def getPartNames
def listJoints
def loop
def pprint
def removeAnimControlDict
def removeNode
def setGeomNode
def setLODNode
def useLOD

Public Attributes

 Actor_deleted
 Actor_initialized
 allowAsyncBind
 DistributedActor_deleted
 DistributedActor_initialized
 gotName
 mergeLODBundles
 switches

Static Public Attributes

tuple animLoaderOptions
tuple modelLoaderOptions
tuple notify = directNotify.newCategory("Actor")
string partPrefix = "__Actor_"
tuple validateSubparts = ConfigVariableBool('validate-subparts', True)

Constructor & Destructor Documentation

def __init__ (   self,
  cr 
)

Member Function Documentation

def __cmp__ (   self,
  other 
) [inherited]
def __str__ (   self) [inherited]
Actor print function
def cleanup (   self) [inherited]
Actor cleanup function
def clearPythonData (   self) [inherited]
def copyActor (   self,
  other,
  overwrite = False 
) [inherited]
def delete (   self)

Reimplemented from Actor.

def disable (   self)
def flush (   self) [inherited]
Actor flush function
def getActorInfo (   self) [inherited]
Utility function to create a list of information about an actor.
Useful for iterating over details of an actor.
def getAnimControlDict (   self) [inherited]
def getAnimNames (   self) [inherited]
def getGeomNode (   self) [inherited]
Return the node that contains all actor geometry
def getLODNames (   self) [inherited]
Return list of Actor LOD names. If not an LOD actor,
returns 'lodRoot'
Caution - this returns a reference to the list - not your own copy
def getLODNode (   self) [inherited]
Return the node that switches actor geometry in and out
def getPartBundleDict (   self) [inherited]
def getPartBundles (   self,
  partName = None 
) [inherited]
Returns a list of PartBundle objects for the entire Actor,
or for the indicated part only. 
def getPartNames (   self) [inherited]
Return list of Actor part names. If not an multipart actor,
returns 'modelRoot' NOTE: returns parts of arbitrary LOD
def listJoints (   self,
  partName = "modelRoot",
  lodName = "lodRoot" 
) [inherited]
Handy utility function to list the joint hierarchy of the
actor. 
def loop (   self,
  animName,
  restart = 1,
  partName = None,
  fromFrame = None,
  toFrame = None 
)
def pprint (   self) [inherited]
Pretty print actor's details
def removeAnimControlDict (   self) [inherited]
def removeNode (   self) [inherited]
def setGeomNode (   self,
  node 
) [inherited]
Set the node that contains all actor geometry
def setLODNode (   self,
  node = None 
) [inherited]
Set the node that switches actor geometry in and out.
If one is not supplied as an argument, make one
def useLOD (   self,
  lodName 
) [inherited]
Make the Actor ONLY display the given LOD

Member Data Documentation

Actor_deleted [inherited]
Actor_initialized [inherited]
allowAsyncBind [inherited]
tuple animLoaderOptions [static, inherited]
Initial value:
LoaderOptions(LoaderOptions.LFSearch |
                                       LoaderOptions.LFReportErrors |
                                       LoaderOptions.LFConvertAnim)
gotName [inherited]
mergeLODBundles [inherited]
tuple modelLoaderOptions [static, inherited]
Initial value:
LoaderOptions(LoaderOptions.LFSearch |
                                       LoaderOptions.LFReportErrors |
                                       LoaderOptions.LFConvertSkeleton)
tuple notify = directNotify.newCategory("Actor") [static, inherited]
string partPrefix = "__Actor_" [static, inherited]
switches [inherited]
tuple validateSubparts = ConfigVariableBool('validate-subparts', True) [static, inherited]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties