ReplicaNet and RNLobby  1
Public Member Functions | List of all members
Predict_Float Class Reference
Inheritance diagram for Predict_Float:
Inheritance graph
[legend]
Collaboration diagram for Predict_Float:
Collaboration graph
[legend]

Public Member Functions

 Predict_Float (memberVariable)
 
 SetError (float value)
 
 SetMinError (float value)
 
 SetMaxError (float value)
 
 SetMinDistance (float value)
 
 SetMaxDistance (float value)
 
 SetInterpolationFilter (float value)
 
 Quadratic ()
 
 Linear ()
 
 SetLagged (float value)
 
 SetSnapToDifference (float value)
 
void BoundaryEnable (void)
 
void BoundaryDisable (void)
 
void BoundaryWrapAround (void)
 
void BoundaryCapped (void)
 
void BoundaryLowerUpper (const float lower, const float upper)
 
void BoundaryApplyToMaster (void)
 
void BoundaryDoNotApplyToMaster (void)
 
void SetValueFloat (void)
 
void SetValueShortFloat (void)
 
void SetDeltaFloat (void)
 
void SetDeltaShortFloat (void)
 
void SetTimeDelta (const float timeDelta=0.0f)
 
- Public Member Functions inherited from std_datablock
 Reliable ()
 
 Certain ()
 
 Ordered ()
 
 Unreliable ()
 
 Manual ()
 
 Automatic ()
 
 ForceReflectionUpdate ()
 
 SetUpdateDelayMinimum ()
 
 SetForceSendMaximumUpdates ()
 
 SetForceSendTimeDelay ()
 

Detailed Description

This datablock type handles changes for member variables that contain float data type that do need to have prediction and extrapolation. See the ReplicaNet documentation for more details of this datablock type.

Constructor & Destructor Documentation

Predict_Float ( memberVariable  )

Use this keyword to define a member variable that is to be used. For example:

 Predict_Float mAFloatMemberVariable
 {
    SetMinError(1.0f);
 }

Member Function Documentation

void BoundaryApplyToMaster ( void  )

Use this keyword to enable write-back of the master boundary checked value.

void BoundaryCapped ( void  )

Use this keyword to set the boundary checks to use a capped value.

void BoundaryDisable ( void  )

Use this keyword to disable the boundary checks.

void BoundaryDoNotApplyToMaster ( void  )

Use this keyword to disable write-back of the master boundary checked value.

void BoundaryEnable ( void  )

Use this keyword to enable the boundary checks.

void BoundaryLowerUpper ( const float  lower,
const float  upper 
)

Where lower <= value < upper for wrapped checks and lower <= value <= upper for capped checks.

void BoundaryWrapAround ( void  )

Use this keyword to set the boundary checks to use a wrap around value.

Linear ( )

Enable linear distance based extrapolation

Quadratic ( )

Enable quadratic distance based extrapolation

void SetDeltaFloat ( void  )

Set this DataBlock to use full 32 bit floating point values when propagating the value. This is the default option.

void SetDeltaShortFloat ( void  )

Set this DataBlock to use short 16 bit floating point values when propagating the value.

SetError ( float  value)

Use this keyword to set the minimum and maximum error used by the data block.

SetInterpolationFilter ( float  value)

Use this keyword to set the interpolation filter used by the data block.

SetLagged ( float  value)

Use this keyword to set the lagged time used by the data block.

SetMaxDistance ( float  value)

Use this keyword to set the maximum distance used by the data block.

SetMaxError ( float  value)

Use this keyword to set the maximum error used by the data block.

SetMinDistance ( float  value)

Use this keyword to set the minimum distance used by the data block.

SetMinError ( float  value)

Use this keyword to set the minimum error used by the data block.

SetSnapToDifference ( float  value)

Use this keyword to set the snap to difference used by the data block.

void SetTimeDelta ( const float  timeDelta = 0.0f)

Sets the amount of time the extrapolation will calculate into the future.

Parameters
timeDeltaThe time in seconds.
void SetValueFloat ( void  )

Set this DataBlock to use full 32 bit floating point values when propagating the value. This is the default option.

void SetValueShortFloat ( void  )

Set this DataBlock to use short 16 bit floating point values when propagating the value.