Navigation
API > API/Plugins > API/Plugins/TextureGraph
Expression.
| Name | UTG_Expression_Invert |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Maths/TG_Expression_Invert.h |
| Include Path | #include "Expressions/Maths/TG_Expression_Invert.h" |
Syntax
UCLASS (MinimalAPI)
class UTG_Expression_Invert : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_Invert
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Clamp | bool | Saturate/clamp values in the [0, 1] range or not. | Expressions/Maths/TG_Expression_Invert.h |
|
| IncludeAlpha | bool | Whether to invert the Alpha channel as well? | Expressions/Maths/TG_Expression_Invert.h |
|
| Input | FTG_Texture | The input texture to be inverted. | Expressions/Maths/TG_Expression_Invert.h |
|
| MaxValue | float | The max value to use. | Expressions/Maths/TG_Expression_Invert.h | |
| Output | FTG_Texture | The inverted output. This is calculated as MaxValue - Input for every pixel in every channel. | Expressions/Maths/TG_Expression_Invert.h |
|