![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SpeedRecorder.h>
Inheritance diagram for BuildPatchServices::ISpeedRecorder:Classes | |
| struct | FRecord |
Public Member Functions | |
| virtual | ~ISpeedRecorder () |
| virtual void | AddRecord (const FRecord &Record)=0 |
| virtual double | GetAverageSpeed (float Seconds) const =0 |
| virtual double | GetPeakSpeed () const =0 |
A helper implementation for recording unit speeds.
|
inlinevirtual |
Adds a record to the recorder.
| Record | The record to add. |
Implemented in BuildPatchServices::FSpeedRecorder.
|
pure virtual |
Get the current average speed achieved over the last X seconds.
| Seconds | The time in seconds to take the reading over. Use TNumericLimits<float>::Max() to get the average over all readings. |
Implemented in BuildPatchServices::FSpeedRecorder.
Get the peak speed achieved so far.
Implemented in BuildPatchServices::FSpeedRecorder.