Navigation
API > API/Plugins > API/Plugins/LiveLink
Continually estimates the time offset between two live time sources.
Samples of clock times corresponding to the same instant are provided, and it will update its estimation of the time difference between the clocks.
| Name | FClockOffsetEstimatorRamp |
| Type | class |
| Header File | /Engine/Plugins/Animation/LiveLink/Source/LiveLink/Public/ClockOffsetEstimatorRamp.h |
| Include Path | #include "ClockOffsetEstimatorRamp.h" |
Syntax
class FClockOffsetEstimatorRamp
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetEstimatedOffset() |
Get current estimated offset between the two tracked clocks | ClockOffsetEstimatorRamp.h | |
void Reset() |
Puts back the estimator in its initial state | ClockOffsetEstimatorRamp.h | |
void SetCorrectionStep
(
double NewValue |
Sets incremental correction step | ClockOffsetEstimatorRamp.h | |
void SetMaxAllowedEstimationError
(
double NewValue |
Set maximum allowed estimation error before looking to clamp | ClockOffsetEstimatorRamp.h | |
void SetRequiredConsecutiveBigError
(
int32 NewCount |
Set required consecutive big errors to clamp | ClockOffsetEstimatorRamp.h | |
void UpdateEstimation
(
double Atime, |
Update the current time offset estimation with a new data sample | ClockOffsetEstimatorRamp.h |