Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | FTG_Material |
| Type | struct |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/TG_Material.h |
| Include Path | #include "TG_Material.h" |
Syntax
USTRUCT (BlueprintType )
struct FTG_Material
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTG_Material () |
TG_Material.h | ||
FTG_Material
(
const FTG_Material& InSrc |
TG_Material.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetPath | FSoftObjectPath | TG_Material.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetMaterial() |
Access the referenced Material asset return a valid MaterialInterface object or null if the reference is invalid. | TG_Material.h | |
void InitFromString
(
const FString& StrVal |
TG_Material.h | ||
bool IsValid() |
Check that the referenced asset is valid. If true, the GetMaterial call will NOT return nullptr | TG_Material.h | |
void ResetTexturePath() |
TG_Material.h | ||
bool Serialize
(
FArchive& Ar |
TG_Material.h | ||
void SetMaterial
(
UMaterialInterface* InMaterial |
Assign the referenced asset from an actual UMaterialInsterface* live object. | TG_Material.h | |
FString ToString() |
TG_Material.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTG_Material & operator=
(
const FTG_Material& RHS |
TG_Material.h | ||
bool operator==
(
const FTG_Material& RHS |
TG_Material.h |