Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FNetworkPredictionData_Client_Ch-
Description
Update CurentTimeStamp from passed in DeltaTime. It will measure the accuracy between passed in DeltaTime and how Server will calculate its DeltaTime. If inaccuracy is too high, it will reset CurrentTimeStamp to maintain a high level of accuracy.
| Name | UpdateTimeStampAndDeltaTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
float UpdateTimeStampAndDeltaTime
(
float DeltaTime,
ACharacter & CharacterOwner,
class UCharacterMovementComponent & CharacterMovementComponent
)
DeltaTime to use for Client's physics simulation prior to replicate move to server.