Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | UTG_Expression_MaterialID |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Utilities/TG_Expression_MaterialID.h |
| Include Path | #include "Expressions/Utilities/TG_Expression_MaterialID.h" |
Syntax
UCLASS (MinimalAPI)
class UTG_Expression_MaterialID : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_MaterialID
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveColors | TArray< FLinearColor > | Expressions/Utilities/TG_Expression_MaterialID.h |
|
|
| ActiveColorsCount | int32 | Expressions/Utilities/TG_Expression_MaterialID.h |
|
|
| MaterialIDInfoCollection | FMaterialIDCollection | Expressions/Utilities/TG_Expression_MaterialID.h | ||
| MaterialIDMap | FTG_Texture | Expressions/Utilities/TG_Expression_MaterialID.h |
|
|
| MaterialIDMaskInfos | TArray< FMaterialIDMaskInfo > | List of available colors extracted from the input texture. Selected colors will be shown as white in the output texture. | Expressions/Utilities/TG_Expression_MaterialID.h |
|
| Output | FTG_Texture | The output of the node, which is the loaded texture asset. | Expressions/Utilities/TG_Expression_MaterialID.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetMaterialIdMask
(
int32 Id, |
Expressions/Utilities/TG_Expression_MaterialID.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/Utilities/TG_Expression_MaterialID.h | |
virtual FName GetCategory() |
Expressions/Utilities/TG_Expression_MaterialID.h | ||
virtual FTG_Name GetDefaultName() |
Expressions/Utilities/TG_Expression_MaterialID.h | ||
virtual FTG_SignaturePtr GetSignature() |
Expressions/Utilities/TG_Expression_MaterialID.h | ||
virtual FText GetTooltipText() |
Expressions/Utilities/TG_Expression_MaterialID.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Expressions/Utilities/TG_Expression_MaterialID.h |
Protected
Overridden from UTG_Expression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize() |
Initialize the expression in cascade from the node allowing it to re create transient data This is called in the PostLoad of the Graph | Expressions/Utilities/TG_Expression_MaterialID.h |