Creates and initializes a new instance from a TCHAR string.
Misc/Variant.h
FVariant()
Description
Default constructor.
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant()
FVariant(const FVariant &)
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant
(
const FVariant &
)
FVariant(FVariant &&)
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant
(
FVariant && Other
)
FVariant(T)
Description
Creates and initializes a new instance with the specified value.
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
template<typename T>
FVariant
(
T InValue
)
Parameters
Name
Remarks
InValue
The initial value.
FVariant(TArray< uint8 > &&)
Description
Creates and initializes a new instance from a byte array.
Array values are passed straight through as an optimization. Please note that, if you serialize any complex types into arrays and then store them in FVariant, you will be responsible for ensuring byte ordering if the FVariant gets sent over the network.
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant
(
TArray < uint8 > && InArray
)
Parameters
Name
Remarks
InValue-
The initial value.
FVariant(const TArray< uint8 > &)
Name
FVariant
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant
(
const TArray < uint8 > & InArray
)
FVariant(const TCHAR *)
Description
Creates and initializes a new instance from a TCHAR string.