Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FVariant > FVariant
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Variant.h |
Include | #include "Misc/Variant.h" |
FVariant
&40;
TArray< uint8 > && InArray
&41;
Remarks
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.
Parameters
Name | Description |
---|---|
InValue- | The initial value. |