Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FSharedStruct
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeAs () |
Initializes from a templated struct type. | StructUtils/SharedStruct.h | |
void InitializeAs
(
const T& Struct |
Initializes from templated struct instance. | StructUtils/SharedStruct.h | |
void InitializeAs
(
const T& Struct |
Initializes from other related struct types. | StructUtils/SharedStruct.h | |
void InitializeAs
(
TArgs&&... InArgs |
Initializes from struct type and emplace args. | StructUtils/SharedStruct.h | |
void InitializeAs
(
const UScriptStruct* InScriptStruct, |
Initializes from a struct type and optional data. | StructUtils/SharedStruct.h |
InitializeAs()
Description
Initializes from a templated struct type. This will create a new instance of the shared struct memory.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include Path | #include "StructUtils/SharedStruct.h" |
template<typename T>
void InitializeAs()
InitializeAs(const T &)
Description
Initializes from templated struct instance. This will create a new instance of the shared struct memory.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include Path | #include "StructUtils/SharedStruct.h" |
template<typename T, UE::StructUtils::EnableIfNotSharedInstancedOrViewStruct< T > *>
void InitializeAs
(
const T & Struct
)
InitializeAs(const T &)
Description
Initializes from other related struct types. This will create a new instance of the shared struct memory.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include Path | #include "StructUtils/SharedStruct.h" |
template<typename T, UE::StructUtils::EnableIfSharedInstancedOrViewStruct< T > *>
void InitializeAs
(
const T & Struct
)
InitializeAs(TArgs &&...)
Description
Initializes from struct type and emplace args. This will create a new instance of the shared struct memory.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include Path | #include "StructUtils/SharedStruct.h" |
template<typename T, typename... TArgs>
void InitializeAs
(
TArgs &&... InArgs
)
InitializeAs(const UScriptStruct , const uint8 )
Description
Initializes from a struct type and optional data. This will create a new instance of the shared struct memory.
| Name | InitializeAs |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/SharedStruct.h |
| Include Path | #include "StructUtils/SharedStruct.h" |
void InitializeAs
(
const UScriptStruct * InScriptStruct,
const uint8 * InStructMemory
)