FDebugFloatHistory

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

Windows
MacOS
Linux

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

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback