# CDistributedSmoothNodeBase

from pandac.PandaModules import CDistributedSmoothNodeBase

Class : CDistributedSmoothNodeBase
Description : This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization.

## Inheritance:

CDistributedSmoothNodeBase:

## Methods of CDistributedSmoothNodeBase:

CDistributedSmoothNodeBase (Constructor)
broadcastPosHprFull
broadcastPosHprXy
broadcastPosHprXyh
initialize
printCurrL
sendEverything
setClockDelta
setCurrL
setRepository

CDistributedSmoothNodeBase CDistributedSmoothNodeBase::CDistributedSmoothNodeBase(void); Description:

broadcastPosHprFull void CDistributedSmoothNodeBase::broadcast_pos_hpr_full(void); Description: Examines the complete pos/hpr information to see which of the six elements have changed, and broadcasts the appropriate messages.

broadcastPosHprXy void CDistributedSmoothNodeBase::broadcast_pos_hpr_xy(void); Description: Examines only X and Y of the pos/hpr information, and broadcasts the appropriate messages.

broadcastPosHprXyh void CDistributedSmoothNodeBase::broadcast_pos_hpr_xyh(void); Description: Examines only X, Y, and H of the pos/hpr information, and broadcasts the appropriate messages.

initialize void CDistributedSmoothNodeBase::initialize(NodePath const &node_path, DCClass *dclass, unsigned long int do_id); Description: 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 void CDistributedSmoothNodeBase::print_curr_l(void); Undocumented function.

sendEverything void CDistributedSmoothNodeBase::send_everything(void); Description: Broadcasts the current pos/hpr in its complete form.

setClockDelta static void CDistributedSmoothNodeBase::set_clock_delta(PyObject *clock_delta); Description: Tells the C++ class definition about the global ClockDelta object.

setCurrL void CDistributedSmoothNodeBase::set_curr_l(unsigned long int l); Description: Appends the timestamp and sends the update.

setRepository static void CDistributedSmoothNodeBase::set_repository(CConnectionRepository *repository, bool is_ai, unsigned long int ai_id); Description: Tells the C++ class definition about the AI or Client repository, used for sending datagrams.