![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineTypes.h>
Public Member Functions | |
| FDebugFloatHistory () | |
| FDebugFloatHistory (int32 const &InMaxSamples, float const &InMinValue, float const &InMaxValue, bool const &InbAutoAdjustMinMax) | |
| void | AddSample (float const &FloatValue) |
| float | GetMinMaxRange () const |
| float | GetMinValue () const |
| float | GetMaxValue () const |
| int | GetNumSamples () const |
| TArray< float > const & | GetSamples () const |
Public Attributes | |
| int32 | MaxSamples |
| float | MinValue |
| float | MaxValue |
| bool | bAutoAdjustMinMax |
Structure for recording float values and displaying them as an Histogram through DrawDebugFloatHistory.
|
inline |
|
inline |
Record a new Sample. if bAutoAdjustMinMax is true, this new value will potentially adjust those bounds. Otherwise value will be clamped before being recorded. If MaxSamples is exceeded, old values will be deleted.
| FloatValue | new sample to record. |
|
inline |
Max value. This could be either the max value recorded or max value allowed depending on 'bAutoAdjustMinMax'.
|
inline |
Range between Min and Max values
|
inline |
Min value. This could either be the min value recorded or min value allowed depending on 'bAutoAdjustMinMax'.
|
inline |
Number of Samples currently recorded
Read access to Samples array
| bool FDebugFloatHistory::bAutoAdjustMinMax |
Auto adjust Min/Max as new values are recorded?
| int32 FDebugFloatHistory::MaxSamples |
Max Samples to record.
| float FDebugFloatHistory::MaxValue |
Max value to record.
| float FDebugFloatHistory::MinValue |
Min value to record.