panda3d.direct.CDistributedSmoothNodeBase

class CDistributedSmoothNodeBase

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

Inheritance diagram

Inheritance diagram of CDistributedSmoothNodeBase

__init__() → None
__init__(param0: CDistributedSmoothNodeBase) → None
broadcastPosHprFull() → None

Examines the complete pos/hpr information to see which of the six elements have changed, and broadcasts the appropriate messages.

broadcastPosHprXy() → None

Examines only X and Y of the pos/hpr information, and broadcasts the appropriate messages.

broadcastPosHprXyh() → None

Examines only X, Y, and H of the pos/hpr information, and broadcasts the appropriate messages.

initialize(node_path: NodePath, dclass: DCClass, do_id: CHANNEL_TYPE) → None

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() → None
sendEverything() → None

Broadcasts the current pos/hpr in its complete form.

setClockDelta(clock_delta: object) → None

Tells the C++ instance definition about the global ClockDelta object.

setCurrL(l: uint64_t) → None

Appends the timestamp and sends the update.

setRepository(repository: CConnectionRepository, is_ai: bool, ai_id: CHANNEL_TYPE) → None

Tells the C++ instance definition about the AI or Client repository, used for sending datagrams.