Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | FTG_Var |
| Type | struct |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/TG_Var.h |
| Include Path | #include "TG_Var.h" |
Syntax
USTRUCT ()
struct FTG_Var
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTG_Var () |
TG_Var.h | ||
| TG_Var.h | |||
| TG_Var.h |
Structs
| Name | Remarks |
|---|---|
| FConcept | |
| FModel | |
| VarArchiveSerialInfo | Map of per type serializer for the var to/from an Archive. |
| VarPropertySerialInfo | Map of per type serializer for the var allowing to copy the value in the Var to a matching UObject's FProperty. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| VarArchiveSerializer | TFunction< void(VarArchiveSerialInfo &)> | TG_Var.h | |
| VarArchiveSerializerMap | TMap< FName, VarArchiveSerializer > | TG_Var.h | |
| VarPropertySerializer | void(*) | Typedef std::function |
TG_Var.h |
| VarPropertySerializerMap | TMap< FName, VarPropertySerializer > | TG_Var.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultArchiveSerializers | VarArchiveSerializerMap | TG_Var.h | |
| DefaultPropertySerializers | VarPropertySerializerMap | TG_Var.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PinId | FTG_Id | TG_Var.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Concept | TSharedPtr< FConcept > | TG_Var.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyFrom
(
UTG_Expression* Owner, |
TG_Var.h | ||
| TG_Var.h | |||
bool CopyGeneric
(
UTG_Expression* Owner, |
TG_Var.h | ||
void CopyTo
(
UTG_Expression* Owner, |
Manage data Arg provide the type name and rely on the VarAllocator map to create the concrete cpp type If Owner is provided then Var can be initialized from the matching owner's property if found | TG_Var.h | |
| TG_Var.h | |||
T & EditAs() |
TG_Var.h | ||
T & GetAs() |
TG_Var.h | ||
T & GetAsWithDefault
(
T& Default |
TG_Var.h | ||
FTG_Id GetId() |
TG_Var.h | ||
bool IsArray() |
TG_Var.h | ||
bool IsEmpty() |
Check if the Var has No Data allocated. | TG_Var.h | |
bool IsValid() |
Check that the Var is valid meaning that it is correctly allocated in the Graph and reference its Pin Owner. | TG_Var.h | |
FString LogHead() |
TG_Var.h | ||
FString LogValue() |
TG_Var.h | ||
void Reset() |
Manage the Var Data with the knowledge of the Type. | TG_Var.h | |
void ResetAs() |
TG_Var.h | ||
void Serialize
(
FArchive& Ar, |
Serialize the var value Called from the Pin serialize() | TG_Var.h | |
void SetArray() |
TG_Var.h | ||
void SetAs
(
const T& InValue |
TG_Var.h | ||
void SetValueFromStr
(
FString StrVal |
TG_Var.h | ||
void ShareData
(
const FTG_Var& InVar |
TG_Var.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void FGeneric_Struct_Serializer
(
FTG_Var::VarPropertySerialInfo& Info |
TG_Var.h | ||
static void RegisterDefaultSerializers() |
TG_Var.h | ||
static void RegisterVarPropertySerializer
(
FName CPPTypeName, |
TG_Var.h | ||
static void UnregisterVarPropertySerializer
(
FName CPPTypeName |
TG_Var.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TG_Var.h |