Navigation
API > API/Plugins > API/Plugins/TextureGraph > API/Plugins/TextureGraph/Expressions > API/Plugins/TextureGraph/Expressions/Input
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Expression
- UTG_Expression_MaterialBase
- UTG_Expression_MaterialFunction
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Input/TG_Expression_MaterialFunction.h |
| Include | #include "Expressions/Input/TG_Expression_MaterialFunction.h" |
Syntax
UCLASS ()
class UTG_Expression_MaterialFunction : public UTG_Expression_MaterialBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialFunctionInterface > | MaterialFunction | The material function to employ for rendering. | |
| TObjectPtr< UMaterialInterface > | ReferenceMaterial |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMaterialInterface * | |||
| void | SetMaterialFunction
(
UMaterialFunctionInterface* InMaterialFunction |
Overridden from UTG_Expression_MaterialBase
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialInterface > | GetMaterial () |
||
| EDrawMaterialAttributeTarget |
Overridden from UTG_Expression
| Type | Name | Description | |
|---|---|---|---|
| bool | CanHandleAsset
(
UObject* Asset |
||
| bool | |||
| FName | GetCategory () |
||
| FTG_Name | |||
| FText | |||
| 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 |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostEditUndo () |
Called after applying a transaction to the object. |