IIndependentInterpolateService

IndependentTick Interpolation

Windows
MacOS
Linux

Inheritance Hierarchy

IIndependentInterpolateService

TIndependentInterpolateService

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionService_Interpolate.inl

Include

#include "Services/NetworkPredictionService_Interpolate.inl"

Syntax

class IIndependentInterpolateService

Remarks

IndependentTick Interpolation

This gets messier due to non-server controlled simulations. The nature of independent ticking is that they will tick at whatever rate the controlling client is running at.

This service keeps its own per-sim internal frame buffer of {Sync, Aux, Timestamp} data. Most work happens in FinalizeFrame: REconcile just copies the received data to the internal buffer.

We potentially could special case server-controlled independent simulations since they will at least all line up on the same frame boundaries (rep frequency will mean there are still gaps though). But we don't distinguish this (server remote vs local) on simulated clients. Seems simpler to just handle all SP sims the same.

Destructors

Functions

Name Description

Public function

void

 

FinalizeFrame

(
    float DeltaTimeSeconds,
    const FVariableTickState* Tick...
)

Public function

void

 

Reconcile

(
    const FVariableTickState* Tick...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss