direct.cluster.ClusterMsgs

from direct.cluster.ClusterMsgs import ClusterMsgHandler

ClusterMsgs module: Message types for Cluster rendering

Inheritance diagram

Inheritance diagram of direct.cluster.ClusterMsgs

class ClusterMsgHandler(packetStart, notify)[source]

Bases: object

ClusterMsgHandler: wrapper for PC clusters/multi-piping networking

__init__(self, packetStart, notify)[source]
blockingRead(self, qcr)[source]

Block until data is available on the queued connection reader. Returns a datagram iterator and type

makeCamFrustumDatagram(self, focalLength, filmSize, filmOffset)[source]
makeCamMovementDatagram(self, xyz, hpr)[source]
makeCamOffsetDatagram(self, xyz, hpr)[source]
makeCommandStringDatagram(self, commandString)[source]
makeExitDatagram(self)[source]
makeNamedMovementDone(self)[source]
makeNamedObjectMovementDatagram(self, xyz, hpr, scale, color, hidden, name)[source]
makeSelectedMovementDatagram(self, xyz, hpr, scale)[source]
makeSwapNowDatagram(self)[source]
makeSwapReadyDatagram(self)[source]
makeTimeDataDatagram(self, frameCount, frameTime, dt)[source]
nonBlockingRead(self, qcr)[source]

Return a datagram iterator and type if data is available on the queued connection reader

parseCamFrustumDatagram(self, dgi)[source]
parseCamMovementDatagram(self, dgi)[source]
parseCamOffsetDatagram(self, dgi)[source]
parseCommandStringDatagram(self, dgi)[source]
parseNamedMovementDatagram(self, dgi)[source]
parseSelectedMovementDatagram(self, dgi)[source]
parseTimeDataDatagram(self, dgi)[source]
readHeader(self, datagram)[source]