direct.distributed.DistributedObjectBase
from direct.distributed.DistributedObjectBase import DistributedObjectBase
Inheritance diagram
- class DistributedObjectBase(cr)[source]
Bases:
DirectObject
The Distributed Object class is the base class for all network based (i.e. distributed) objects. These will usually (always?) have a dclass entry in a *.dc file.
- handleChildArrive(self, childObj, zoneId)[source]
A new child has just setLocation beneath us. Give us a chance to run code when a new child sets location to us. For example, we may want to scene graph reparent the child to some subnode we own.
- handleChildArriveZone(self, childObj, zoneId)[source]
A child has just changed zones beneath us with setLocation. Give us a chance to run code when an existing child sets location to us. For example, we may want to scene graph reparent the child to some subnode we own.
- handleChildLeave(self, childObj, zoneId)[source]
A child is about to setLocation away from us. Give us a chance to run code just before a child sets location away from us.
- handleChildLeaveZone(self, childObj, zoneId)[source]
A child is about to setLocation to another zone beneath us. Give us a chance to run code just before a child sets location to that zone.
- notify = <direct.directnotify.Notifier.Notifier object>