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_SmoothStep
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_SmoothStep : public UTG_Expression_Variant
Remarks
Smooth step.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTG_Variant | Input | The angle in radians to run the trigonometric function on. | |
| FTG_Variant | Max | ||
| FTG_Variant | Min |
Overridden from UTG_Expression_Variant
| Type | Name | Description | |
|---|---|---|---|
| bool | Only override this if you don't want use the base class error handling (which is quite strict out of the box). | ||
| 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 |