Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | UTG_Expression_Levels |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Filter/TG_Expression_Levels.h |
| Include Path | #include "Expressions/Filter/TG_Expression_Levels.h" |
Syntax
UCLASS ()
class UTG_Expression_Levels : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_Levels
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HighValue | 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 |
|
| Input | FTG_Texture | The input image to adjust the levels for. | Expressions/Filter/TG_Expression_Levels.h |
|
| LevelsExpressionType | ELevelsExpressionType | Expressions/Filter/TG_Expression_Levels.h |
|
|
| LowValue | 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 |
|
| MidAutoLevels | 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 |
|
| MidValue | 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 |
|
| OutHighValue | float | The white point of the output. Moving this will remap the white point to this value. Default is 1. | Expressions/Filter/TG_Expression_Levels.h |
|
| OutLowValue | float | The black point of the output. Moving this will remap the dark point to this value. Default is 0. | Expressions/Filter/TG_Expression_Levels.h |
|
| Output | FTG_Texture | The output image filtered result of the Levels operator. | Expressions/Filter/TG_Expression_Levels.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Levels | FTG_LevelsSettings | Expressions/Filter/TG_Expression_Levels.h | ||
| LevelsControl | TSharedPtr< FLevels > | Expressions/Filter/TG_Expression_Levels.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsAutoLevel() |
Expressions/Filter/TG_Expression_Levels.h | ||
void SetHighValue
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
void SetLowValue
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
void SetMidValue
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
void SetOutHighValue
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h | ||
void SetOutLowValue
(
float InValue |
Expressions/Filter/TG_Expression_Levels.h |
Overridden from UTG_Expression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
FTG_EvaluationContext* InContext |
This is THE evaluation call to overwrite. | Expressions/Filter/TG_Expression_Levels.h | |
virtual FName GetCategory() |
Expressions/Filter/TG_Expression_Levels.h | ||
virtual FTG_SignaturePtr GetSignature() |
Expressions/Filter/TG_Expression_Levels.h | ||
virtual FText GetTooltipText() |
Expressions/Filter/TG_Expression_Levels.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
Used to implement EditCondition logic for both Node UI and Details View. | Expressions/Filter/TG_Expression_Levels.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Expressions/Filter/TG_Expression_Levels.h | ||
virtual void PostLoad() |
Expressions/Filter/TG_Expression_Levels.h |