CDistributedSmoothNodeBase¶
from panda3d.direct import CDistributedSmoothNodeBase
-
class
CDistributedSmoothNodeBase
¶ This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization.
Inheritance diagram
-
__init__
()¶
-
__init__
(param0: CDistributedSmoothNodeBase)
-
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: panda3d.core.NodePath, dclass: DCClass, do_id: int) → 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.
-
setClockDelta
(clock_delta: object) → None¶ Tells the C++ instance definition about the global ClockDelta object.
-
setRepository
(repository: CConnectionRepository, is_ai: bool, ai_id: int) → None¶ Tells the C++ instance definition about the AI or Client repository, used for sending datagrams.
-