Navigation
API > API/Plugins > API/Plugins/Mover
Double Buffer struct for various Mover data.
| Name | FMoverDoubleBuffer |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverSimulationTypes.h |
| Include Path | #include "MoverSimulationTypes.h" |
Syntax
template<typename T>
struct FMoverDoubleBuffer
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | T | MoverSimulationTypes.h | ||
| ReadIndex | uint32 | MoverSimulationTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Flip() |
Flips which data in the buffer we return for reading and writing. | MoverSimulationTypes.h | |
const T & GetReadable() |
Gets data that is safe to read and is not being written to. | MoverSimulationTypes.h | |
T & GetWritable() |
Gets data that is being written to and is expected to change. | MoverSimulationTypes.h | |
void SetBufferedData
(
const T& InDataToCopy |
Sets all buffered data - usually used for initializing data. | MoverSimulationTypes.h |