com.onlineobject.objectnet Namespace

PositionNetwork Constructor (Boolean, Boolean, Boolean, Boolean, Boolean, PredictionType)

Initializes a new instance of the PositionNetwork class with specified settings for axis synchronization and prediction/interpolation techniques.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public PositionNetwork(

	bool x,

	bool y,

	bool z,

	bool usePrediction,

	bool useInterpolation,

	PredictionType predictionTechnique

)

Parameters

x
Type: Boolean
Enable synchronization on the X axis.
y
Type: Boolean
Enable synchronization on the Y axis.
z
Type: Boolean
Enable synchronization on the Z axis.
usePrediction
Type: Boolean
Use prediction for movement.
useInterpolation
Type: Boolean
Use interpolation for smoother movement.
predictionTechnique
Type: com.onlineobject.objectnet..::..PredictionType
The prediction technique to use.