Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/StructUtils > API/Runtime/CoreUObject/StructUtils/FConstSharedStruct > API/Runtime/CoreUObject/StructUtils/FConstSharedStruct/InitializeAs
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include | #include "StructUtils/SharedStruct.h" |
template<typename T, UE::StructUtils::EnableIfSharedInstancedOrViewStruct < T > *>
void InitializeAs
(
const T & Struct
)
Remarks
Initializes from other related struct types. This will create a new instance of the shared struct memory.