Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > StructUtils > FConstSharedStruct > InitializeAs
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
Include | #include "StructUtils/SharedStruct.h" |
void InitializeAs
(
const UScriptStruct * InScriptStruct,
const uint8 * InStructMemory
)
Remarks
Initializes from struct type and optional data. This will create a new instance of the shared struct memory.