engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FDebugFloatHistory结构体 参考

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

#include <EngineTypes.h>

Public 成员函数

void AddSample (float const &FloatValue)
 Record a new Sample. 更多...
 
float GetMaxValue () const
 Max value. 更多...
 
float GetMinMaxRange () const
 Range between Min and Max values
 
float GetMinValue () const
 Min value. 更多...
 
int GetNumSamples () const
 Number of Samples currently recorded
 
TArray< float > const & GetSamples () const
 Read access to Samples array
 

Public 属性

bool bAutoAdjustMinMax
 Auto adjust Min/Max as new values are recorded?
 
float MaxSamples
 Max Samples to record.
 
float MaxValue
 Max value to record.
 
float MinValue
 Min value to record.
 

详细描述

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

成员函数说明

◆ AddSample()

void FDebugFloatHistory::AddSample ( float const &  FloatValue)
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.

参数
FloatValuenew sample to record.

◆ GetMaxValue()

float FDebugFloatHistory::GetMaxValue ( ) const
inline

Max value.

This could be either the max value recorded or max value allowed depending on 'bAutoAdjustMinMax'.

◆ GetMinValue()

float FDebugFloatHistory::GetMinValue ( ) const
inline

Min value.

This could either be the min value recorded or min value allowed depending on 'bAutoAdjustMinMax'.


该结构体的文档由以下文件生成: