Navigation
API > API/Runtime > API/Runtime/Engine
Structure for recording float values and displaying them as an Histogram through DrawDebugFloatHistory.
| Name | FDebugFloatHistory |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FDebugFloatHistory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Engine/EngineTypes.h | |||
FDebugFloatHistory
(
int32 const& InMaxSamples, |
Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoAdjustMinMax | bool | Auto adjust Min/Max as new values are recorded? | Engine/EngineTypes.h |
|
| MaxSamples | int32 | Max Samples to record. | Engine/EngineTypes.h |
|
| MaxValue | float | Max value to record. | Engine/EngineTypes.h |
|
| MinValue | float | Min value to record. | Engine/EngineTypes.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Samples | TArray< float > | Samples | Engine/EngineTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSample
(
float const& FloatValue |
Record a new Sample. | Engine/EngineTypes.h | |
float GetMaxValue () |
Max value. | Engine/EngineTypes.h | |
float GetMinMaxRange() |
Range between Min and Max values | Engine/EngineTypes.h | |
float GetMinValue () |
Min value. | Engine/EngineTypes.h | |
int GetNumSamples() |
Number of Samples currently recorded | Engine/EngineTypes.h | |
TArray< float > const & GetSamples() |
Read access to Samples array | Engine/EngineTypes.h |