Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | FTG_LevelsSettings |
| Type | struct |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Filter/TG_Expression_Levels.h |
| Include Path | #include "Expressions/Filter/TG_Expression_Levels.h" |
Syntax
USTRUCT (BlueprintType )
struct FTG_LevelsSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| High | float | The High value of the Levels adjustment, any pixel above that value is set to white. Default is 1. | Expressions/Filter/TG_Expression_Levels.h |
|
| Low | float | The Low value of the Levels adjustment, any pixel under that value is set to black. Default is 0. | Expressions/Filter/TG_Expression_Levels.h |
|
| Mid | float | The mid value of the Levels adjustment, must be in the range [Min, Max] and the Default is 0.5. | Expressions/Filter/TG_Expression_Levels.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float EvalMidExponent() |
Evaluate the MidExponent of the power curve applying the midpoint filter. | Expressions/Filter/TG_Expression_Levels.h | |
float EvalRange
(
float Val |
Eval Low-High range mapping on value. | Expressions/Filter/TG_Expression_Levels.h | |
float EvalRangeInv
(
float Val |
Eval reverse Low-High range mapping on value. | Expressions/Filter/TG_Expression_Levels.h | |
void InitFromString
(
const FString& StrVal |
Expressions/Filter/TG_Expression_Levels.h | ||
bool SetHigh
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
bool SetLow
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
bool SetMid
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
bool SetMidFromMidExponent
(
float InExponent |
Expressions/Filter/TG_Expression_Levels.h | ||
FString ToString() |
Expressions/Filter/TG_Expression_Levels.h |