PositionNetwork Members
The PositionNetwork type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PositionNetwork()()()() |
Badly formed XML comment.
|
|
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.
|
|
PositionNetwork(INetworkElement) |
Initializes a new instance of the PositionNetwork class with a reference to an existing network object.
|
Methods
Name | Description | |
---|---|---|
ComputeActive |
Computes the active state of the networked object, updating its position if it has moved beyond a threshold.
|
|
ComputePassive |
Computes the passive state of the networked object, handling interpolation and prediction if necessary.
|
|
Extract |
Extracts synchronization data from the provided data stream and updates the object's state accordingly.
|
|
GetPassiveArguments |
Retrieves the current position of the object for passive synchronization.
|
|
IsCorrectlyPositionOnPast(Vector3, Boolean) |
Return if this object was int os closeslly this postion on past
|
|
IsCorrectlyPositionOnPast(Vector3, Int32, Int32, Boolean) |
Return if this object was int os closeslly this postion on past
|
|
RecoverFrameTimeOnPast |
Recovers the frame time from the past based on the time to go back and the start sequence.
|
|
SetCustomPrediction |
Sets a custom prediction logic.
|
|
SynchonizeActive |
Synchronizes the active state of the object with the network by writing necessary data to the provided data stream.
|
|
SynchonizePassive |
Synchronizes the passive state of the object by updating its position.
|