Navigation
API > API/Plugins > API/Plugins/TextureGraph > API/Plugins/TextureGraph/Expressions > API/Plugins/TextureGraph/Expressions/Maths
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Expression
- UTG_Expression_Variant
- UTG_Expression_Max
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Maths/TG_Expression_Clamp.h |
| Include | #include "Expressions/Maths/TG_Expression_Clamp.h" |
Syntax
UCLASS ()
class UTG_Expression_Max : public UTG_Expression_Variant
Remarks
Max.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTG_Variant | Input1 | The first input for Output = max(Input1, Input2) | |
| FTG_Variant | Input2 | The second input for Output = max(Input1, Input2) |
Overridden from UTG_Expression_Variant
| Type | Name | Description | |
|---|---|---|---|
| float | EvaluateScalar_WithValue
(
FTG_EvaluationContext* InContext, |
Most of the time these are the two functions that expressions will need to implement. | |
| FTG_Texture | EvaluateTexture
(
FTG_EvaluationContext* InContext |
||
| std::vector< FTG_Variant > | If you use the basic structure of variant expression then you'll need to implement this correctly. |
Overridden from UTG_Expression
| Type | Name | Description | |
|---|---|---|---|
| FName | GetCategory () |
||
| FText |