# 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:

broadcastPosHprFull
broadcastPosHprXy
broadcastPosHprXyh
initialize
sendEverything
setClockDelta
setRepository

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 __int64 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.

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.

setRepository static void CDistributedSmoothNodeBase::set_repository(CConnectionRepository *repository, bool is_ai, unsigned __int64 ai_id); Filename: cDistributedSmoothNodeBase.I Created by: drose (03Sep04) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . Description: Tells the C++ class definition about the AI or Client repository, used for sending datagrams.