CDistributedSmoothNodeBase
from panda3d.direct import CDistributedSmoothNodeBase
- class CDistributedSmoothNodeBase
Bases:
DTOOL_SUPER_BASE
This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization.
Inheritance diagram
- __init__(*args, **kwargs)
- broadcastPosHprFull()
C++ Interface: broadcast_pos_hpr_full(const CDistributedSmoothNodeBase self)
- /**
Examines the complete pos/hpr information to see which of the six elements
have changed, and broadcasts the appropriate messages.
*/
- broadcastPosHprXy()
C++ Interface: broadcast_pos_hpr_xy(const CDistributedSmoothNodeBase self)
- /**
Examines only X and Y of the pos/hpr information, and broadcasts the
appropriate messages.
*/
- broadcastPosHprXyh()
C++ Interface: broadcast_pos_hpr_xyh(const CDistributedSmoothNodeBase self)
- /**
Examines only X, Y, and H of the pos/hpr information, and broadcasts the
appropriate messages.
*/
- broadcast_pos_hpr_full()
C++ Interface: broadcast_pos_hpr_full(const CDistributedSmoothNodeBase self)
- /**
Examines the complete pos/hpr information to see which of the six elements
have changed, and broadcasts the appropriate messages.
*/
- broadcast_pos_hpr_xy()
C++ Interface: broadcast_pos_hpr_xy(const CDistributedSmoothNodeBase self)
- /**
Examines only X and Y of the pos/hpr information, and broadcasts the
appropriate messages.
*/
- broadcast_pos_hpr_xyh()
C++ Interface: broadcast_pos_hpr_xyh(const CDistributedSmoothNodeBase self)
- /**
Examines only X, Y, and H of the pos/hpr information, and broadcasts the
appropriate messages.
*/
- initialize()
C++ Interface: initialize(const CDistributedSmoothNodeBase self, const NodePath node_path, DCClass dclass, long 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.
*/
- printCurrL()
C++ Interface: print_curr_l(const CDistributedSmoothNodeBase self)
- print_curr_l()
C++ Interface: print_curr_l(const CDistributedSmoothNodeBase self)
- sendEverything()
C++ Interface: send_everything(const CDistributedSmoothNodeBase self)
- /**
Broadcasts the current pos/hpr in its complete form.
*/
- send_everything()
C++ Interface: send_everything(const CDistributedSmoothNodeBase self)
- /**
Broadcasts the current pos/hpr in its complete form.
*/
- setClockDelta()
C++ Interface: set_clock_delta(const CDistributedSmoothNodeBase self, object clock_delta)
- /**
Tells the C++ instance definition about the global ClockDelta object.
*/
- setCurrL()
C++ Interface: set_curr_l(const CDistributedSmoothNodeBase self, long l)
- /**
Appends the timestamp and sends the update.
*/
- setRepository()
C++ Interface: set_repository(const CDistributedSmoothNodeBase self, CConnectionRepository repository, bool is_ai, long ai_id)
- /**
Tells the C++ instance definition about the AI or Client repository, used
for sending datagrams.
*/
- set_clock_delta()
C++ Interface: set_clock_delta(const CDistributedSmoothNodeBase self, object clock_delta)
- /**
Tells the C++ instance definition about the global ClockDelta object.
*/