Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | UTG_Expression_NormalFromHeightMap |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |
| Include Path | #include "Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h" |
Syntax
UCLASS (MinimalAPI)
class UTG_Expression_NormalFromHeightMap : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_NormalFromHeightMap
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Input | FTG_Texture | The input image to be converted to Normal from height map. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |
|
| Offset | float | Normals from height are generated by taking nearby points from the texture having some offset. Using smaller offset values means we are getting samples closer to the surface from the texture. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |
|
| Output | FTG_Texture | The output image which is a single channel grayscale version of the input image. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |
|
| Strength | float | Strength of the normals. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |
|
Functions
Public
Overridden from UTG_Expression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
FTG_EvaluationContext* InContext |
This is THE evaluation call to overwrite. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h | |
virtual FName GetCategory() |
Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h | ||
virtual FTG_Name GetDefaultName() |
Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h | ||
virtual FTG_SignaturePtr GetSignature() |
Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h | ||
virtual FText GetTooltipText() |
Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h | ||
virtual bool Validate
(
MixUpdateCyclePtr Cycle |
Validate internal checks, warnings and errors. | Expressions/Adjustment/TG_Expression_NormalFromHeightMap.h |