com.onlineobject.objectnet Namespace

PositionNetwork Members

The PositionNetwork type exposes the following members.

Constructors


  Name Description
Public method PositionNetwork()()()()
Badly formed XML comment.
Public method PositionNetwork(Boolean, Boolean, Boolean, Boolean, Boolean, PredictionType)
Initializes a new instance of the PositionNetwork class with specified settings for axis synchronization and prediction/interpolation techniques.
Public method PositionNetwork(INetworkElement)
Initializes a new instance of the PositionNetwork class with a reference to an existing network object.

Methods


  Name Description
Public method ComputeActive
Computes the active state of the networked object, updating its position if it has moved beyond a threshold.
Public method ComputePassive
Computes the passive state of the networked object, handling interpolation and prediction if necessary.
Public method Extract
Extracts synchronization data from the provided data stream and updates the object's state accordingly.
Public method GetPassiveArguments
Retrieves the current position of the object for passive synchronization.
Public method IsCorrectlyPositionOnPast(Vector3, Boolean)
Return if this object was int os closeslly this postion on past
Public method IsCorrectlyPositionOnPast(Vector3, Int32, Int32, Boolean)
Return if this object was int os closeslly this postion on past
Public method RecoverFrameTimeOnPast
Recovers the frame time from the past based on the time to go back and the start sequence.
Public method SetCustomPrediction
Sets a custom prediction logic.
Public method SynchonizeActive
Synchronizes the active state of the object with the network by writing necessary data to the provided data stream.
Public method SynchonizePassive
Synchronizes the passive state of the object by updating its position.