Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FVariant
Overloads
Name
Remarks
Include Path
Unreal Specifiers
Misc/Variant.h
Misc/Variant.h
Assignment operator.
Misc/Variant.h
Assignment operator for byte arrays.
Misc/Variant.h
Misc/Variant.h
Assignment operator for TCHAR strings.
Misc/Variant.h
operator=(const FVariant &)
Name
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant & operator=
(
const FVariant &
)
Copy full snippet
operator=(FVariant &&)
Name
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant & operator=
(
FVariant && Other
)
Copy full snippet
operator=(T)
Description
Assignment operator.
Name
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
template<typename T>
FVariant & operator=
(
T InValue
)
Copy full snippet
This instance.
Parameters
Name
Remarks
T
The type of the value to assign.
InValue
The value to assign.
operator=(TArray< uint8 > &&)
Description
Assignment operator for byte arrays.
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
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant & operator=
(
TArray < uint8 > && InArray
)
Copy full snippet
This instance.
Parameters
Name
Remarks
InArray
The byte array to assign.
operator=(const TArray< uint8 > &)
Name
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant & operator=
(
const TArray < uint8 > & InArray
)
Copy full snippet
operator=(const TCHAR *)
Description
Assignment operator for TCHAR strings.
Name
operator=
Type
function
Header File
/Engine/Source/Runtime/Core/Public/Misc/Variant.h
Include Path
#include "Misc/Variant.h"
FVariant & operator=
(
const TCHAR * InString
)
Copy full snippet
This instance.
Parameters
Name
Remarks
InString
The value to assign.