Navigation
API > API/Runtime > API/Runtime/Core
Used to construct a histogram that runs over a custom set of ranges, while still enforcing contiguity on the bin ranges
| Name | FHistogramBuilder |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/Histogram.h |
| Include Path | #include "ProfilingDebugging/Histogram.h" |
Syntax
struct FHistogramBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHistogramBuilder
(
FHistogram& InHistogram, |
ProfilingDebugging/Histogram.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FHistogramBuilder() |
ProfilingDebugging/Histogram.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastValue | double | ProfilingDebugging/Histogram.h | ||
| MyHistogram | FHistogram * | ProfilingDebugging/Histogram.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddBin
(
double MaxValue |
This will add a bin to the histogram, extending from the previous bin (or starting value) to the passed in MaxValue | ProfilingDebugging/Histogram.h | |
void FinishBins() |
Call when done adding bins, this will create a final unbounded bin to catch values above the maximum value | ProfilingDebugging/Histogram.h |