Navigation
API > API/Plugins > API/Plugins/TextureGraph
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/TG_Var.h |
| Include | #include "TG_Var.h" |
Syntax
USTRUCT ()
struct FTG_Var
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTG_Id | PinId |
Constructors
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyFrom
(
UTG_Expression* Owner, |
||
| void | |||
| bool | CopyGeneric
(
UTG_Expression* Owner, |
||
| 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 | |
| void | |||
| T & | EditAs () |
||
| void | |||
| T & | GetAs () |
||
| T & | GetAsWithDefault
(
T& Default |
||
| FTG_Id | GetId () |
||
| bool | IsEmpty () |
Check if the Var has No Data allocated. | |
| bool | IsValid () |
Check that the Var is valid meaning that it is correctly allocated in the Graph and reference its Pin Owner. | |
| FString | LogHead () |
||
| FString | LogValue () |
||
| void | |||
| void | RegisterVarPropertySerializer
(
FName CPPTypeName, |
||
| void | ResetAs () |
Manage the Var Data with the knowledge of the Type. | |
| void | Serialize
(
FArchive& Ar, |
Serialize the var value Called from the Pin serialize() | |
| void | SetAs
(
const T& InValue |
||
| void | SetValueFromStr
(
FString StrVal |
||
| void | |||
| void | UnregisterVarPropertySerializer
(
FName CPPTypeName |
Operators
Classes
| Type | Name | Description | |
|---|---|---|---|
| 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 | Description |
|---|---|
| VarArchiveSerializer | |
| VarArchiveSerializerMap | |
| VarPropertySerializer | Typedef std::function |
| VarPropertySerializerMap |
Constants
| Name | Description |
|---|---|
| DefaultArchiveSerializers | |
| DefaultPropertySerializers |