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_Material
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Input/TG_Expression_Material.h |
| Include | #include "Expressions/Input/TG_Expression_Material.h" |
Syntax
UCLASS ()
class UTG_Expression_Material : public UTG_Expression_MaterialBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialInterface > | Material | The input material to employ for rendering. | |
| FName | RenderedAttribute | The Material attribute identifier among all the attributes of the material that is rendered in the output. | |
| FName | TitleName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FName > | THe list of Rendered attribute options available. | ||
| void | SetMaterial
(
UMaterialInterface* InMaterial |
||
| void | SetRenderedAttribute
(
FName InRenderedAttribute |
Overridden from UTG_Expression_MaterialBase
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialInterface > | GetMaterial () |
||
| EDrawMaterialAttributeTarget | |||
| void | SetMaterialInternal
(
UMaterialInterface* InMaterial |
Overridden from UTG_Expression
| Type | Name | Description | |
|---|---|---|---|
| bool | CanHandleAsset
(
UObject* Asset |
||
| FName | GetCategory () |
||
| FName | GetTitleName () |
||
| 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 | |||
| void | SetTitleName
(
FName NewName |
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. |