TRepController_Base

Base implementation with minimal functionality: will grant simulation time and call finalize frame.

Windows
MacOS
Linux

Inheritance Hierarchy

TBase

TRepController_Base

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkedSimulationModelRepControllers.h

Include

#include "NetworkedSimulationModelRepControllers.h"

Syntax

template<typename Model, typename TBase>
struct TRepController_Base : public TBase

Remarks

Base implementation with minimal functionality: will grant simulation time and call finalize frame.

Functions

Name Description

Public function

void

 

PostSimTick

(
    TDriver* Driver,
    const TNetworkSimBufferContainer< M...,
    const TSimulationTicker< TTickSetti...,
    const FNetSimTickParameters& TickP...
)

Called after input processing. Should finalize the frame and do any smoothing/interpolation. This function is not allowed to modify the buffers or tick state, or even call the simulation/Update function.

Public function

void

 

PreSimTick

(
    TDriver* Driver,
    TNetworkSimBufferContainer< Model >...,
    TSimulationTicker< TTickSettings > ...,
    const FNetSimTickParameters& TickP...
)

Called prior to input processing. This function must updated Ticker to allow simulation time (from TickParameters) and to possibly get new input.

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