Navigation
API > API/Plugins > API/Plugins/TextureGraphEditor
Widget to Draw the Bars for Histogram.
| Name | STextureHistogramBars |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraphEditor/Public/STextureHistogram.h |
| Include Path | #include "STextureHistogram.h" |
Syntax
class STextureHistogramBars : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → STextureHistogramBars
- FSlateControlledConstruction → SWidget → SCompoundWidget → STextureHistogramBars
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Canvas | TSharedPtr< SCanvas > | STextureHistogram.h | ||
| HistogramData | TArray< int32 > | STextureHistogram.h | ||
| Max | int | STextureHistogram.h | ||
| ShadeColor | FLinearColor | STextureHistogram.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& Args |
STextureHistogram.h | ||
void DrawHistogramBars
(
const FGeometry& AllottedGeometry, |
STextureHistogram.h | ||
int GetMaxBin() |
STextureHistogram.h | ||
void SetHistogramData
(
const TArray< int32 >& InHistogramData |
STextureHistogram.h | ||
void SetMax
(
int MaxValue |
STextureHistogram.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 OnPaint
(
const FPaintArgs& Args, |
STextureHistogram.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
STextureHistogram.h |