![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ScopedTimers.h>
Inheritance diagram for FScopedSwitchedDurationTimer:Public Member Functions | |
| FScopedSwitchedDurationTimer (double &AccumulatorIn, bool bDoFunctionalityIn) | |
| ~FScopedSwitchedDurationTimer () | |
| double | Start () |
Protected Attributes | |
| double | StartTime |
| double & | Accumulator |
| const bool | bDoFunctionality |
Utility stopwatch class for tracking the duration of some action (tracks time in seconds and adds it to the specified variable on destruction). useful for timing that only wants to occur when a feature is optionally turned on
|
inlineexplicit |
|
inline |
|
inline |
|
protected |
Time variable to update.
|
protected |
|
protected |
Start time, captured in ctor.