Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UStruct
Description
Initialize a struct over uninitialized memory. This may be done by calling the native constructor or individually initializing properties
Derived Overrides
| Name | InitializeStruct |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
virtual void InitializeStruct
(
void * Dest,
int32 ArrayDim
) const
Parameters
| Name | Remarks |
|---|---|
| Dest | Pointer to memory to initialize |
| ArrayDim | Number of elements in the array |
| Stride | Stride of the array, If this default (0), then we will pull the size from the struct |