FDebugFloatHistory

Structure for recording float values and displaying them as an Histogram through DrawDebugFloatHistory.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FDebugFloatHistory

Remarks

Structure for recording float values and displaying them as an Histogram through DrawDebugFloatHistory.

Variables

Name Description

Public variable

bool

 

bAutoAdjustMinMax

Auto adjust Min/Max as new values are recorded?

Public variable

float

 

MaxSamples

Max Samples to record.

Public variable

float

 

MaxValue

Max value to record.

Public variable

float

 

MinValue

Min value to record.

Constructors

Name Description

Public function

FDebugFloatHistory()

Public function

FDebugFloatHistory

(
    float const& InMaxSamples,
    float const& InMinValue,
    float const& InMaxValue,
    bool const& InbAutoAdjustMinMax
)

Functions

Name Description

Public function

void

 

AddSample

(
    float const& FloatValue
)

Record a new Sample.

Public function Const

float

 

GetMaxValue()

Max value.

Public function Const

float

 

GetMinMaxRange()

Range between Min and Max values

Public function Const

float

 

GetMinValue()

Min value.

Public function Const

int

 

GetNumSamples()

Number of Samples currently recorded

Public function Const

TArray< floa...

 

GetSamples()

Read access to Samples array

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss