Panda3D
|
This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization. More...
Public Member Functions | |
__init__ () | |
broadcastPosHprFull () | |
Examines the complete pos/hpr information to see which of the six elements have changed, and broadcasts the appropriate messages. More... | |
broadcastPosHprXy () | |
Examines only X and Y of the pos/hpr information, and broadcasts the appropriate messages. More... | |
broadcastPosHprXyh () | |
Examines only X, Y, and H of the pos/hpr information, and broadcasts the appropriate messages. More... | |
initialize (const NodePath node_path, DCClass dclass, CHANNELTYPE do_id) | |
Initializes the internal structures from some constructs that are normally stored only in Python. Also reads the current node's pos & hpr values in preparation for transmitting them via one of the broadcast_pos_hpr_*() methods. More... | |
printCurrL () | |
sendEverything () | |
Broadcasts the current pos/hpr in its complete form. More... | |
setClockDelta (object clock_delta) | |
Tells the C++ instance definition about the global ClockDelta object. More... | |
setCurrL (PNUint64 l) | |
published function to set current location for this object, this location is then sent out along with the next position broadcast Appends the timestamp and sends the update. More... | |
setRepository (CConnectionRepository repository, bool is_ai, CHANNELTYPE ai_id) | |
Tells the C++ instance definition about the AI or Client repository, used for sending datagrams. More... | |
This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization.
__init__ | ( | ) |
broadcastPosHprFull | ( | ) |
Examines the complete pos/hpr information to see which of the six elements have changed, and broadcasts the appropriate messages.
broadcastPosHprXy | ( | ) |
Examines only X and Y of the pos/hpr information, and broadcasts the appropriate messages.
broadcastPosHprXyh | ( | ) |
Examines only X, Y, and H of the pos/hpr information, and broadcasts the appropriate messages.
Initializes the internal structures from some constructs that are normally stored only in Python. Also reads the current node's pos & hpr values in preparation for transmitting them via one of the broadcast_pos_hpr_*() methods.
printCurrL | ( | ) |
sendEverything | ( | ) |
Broadcasts the current pos/hpr in its complete form.
setClockDelta | ( | object | clock_delta | ) |
Tells the C++ instance definition about the global ClockDelta object.
setCurrL | ( | PNUint64 | l | ) |
published function to set current location for this object, this location is then sent out along with the next position broadcast Appends the timestamp and sends the update.
setRepository | ( | CConnectionRepository | repository, |
bool | is_ai, | ||
CHANNELTYPE | ai_id | ||
) |
Tells the C++ instance definition about the AI or Client repository, used for sending datagrams.