TNetworkSimContiguousBuffer::WriteFrame

Returns the element @ frame for writing.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkedSimulationModelBuffer.h"

Syntax

T * WriteFrame
(
    int32 Frame
)

Remarks

Returns the element @ frame for writing. The contents of this element are unknown (could be stale content!). Note the element returned is immediately considered "valid" by Num(), Iterators, etc! The written frame becomes the Head element. Essentially invalidates any existing frames >= Frame

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