Navigation
API > API/Plugins > API/Plugins/TextureGraph > API/Plugins/TextureGraph/Expressions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Expression
- UTG_Expression_MaterialBase
- UTG_Expression_Material
- UTG_Expression_MaterialFunction
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/TG_Expression_MaterialBase.h |
| Include | #include "Expressions/TG_Expression_MaterialBase.h" |
Syntax
UCLASS (Abstract)
class UTG_Expression_MaterialBase : public UTG_Expression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< EDrawMaterialAttributeTarget > | AvailableMaterialAttributeIds | ||
| TArray< FName > | AvailableMaterialAttributeNames | ||
| FTG_SignaturePtr | DynSignature | ||
| TObjectPtr< UMaterialInstanceDynamic > | MaterialInstance | ||
| FTG_Texture | Output | The output of the material expressed as a texture. | |
| bool | TiledMode | Whether to run the material in tiled mode (Tiles in output settings) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TiledBlobPtr | CreateRenderMaterialJob
(
FTG_EvaluationContext* InContext, |
||
| TiledBlobPtr | CreateRenderMaterialJob
(
FTG_EvaluationContext* InContext, |
||
| void | |||
| const TArray< EDrawMaterialAttributeTarget > & | Access the list of attributes available for rendering from the current Material. | ||
| const TArray< FName > & | |||
| TObjectPtr< UMaterialInterface > | GetMaterial () |
||
| EDrawMaterialAttributeTarget | |||
| void | LinkMaterialParameters
(
FTG_EvaluationContext* InContext, |
||
| void | SetMaterialInternal
(
UMaterialInterface* InMaterial |
Overridden from UTG_Expression
| Type | Name | Description | |
|---|---|---|---|
| FTG_SignaturePtr | Build Signature in derived classes dynamically. | ||
| void | CopyVarGeneric
(
const FTG_Argument& Arg, |
||
| void | Evaluate
(
FTG_EvaluationContext* InContext |
This is THE evaluation call to overwrite. | |
| FName | GetCategory () |
||
| FTG_SignaturePtr | GetSignature () |
||
| 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 | |
| void | If the signature changes and the node need to regenerate its own signature. | ||
| bool | Validate
(
MixUpdateCyclePtr Cycle |
Validate internal checks, warnings and errors. |