Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UScriptStruct
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
void ClearScriptStruct
(
void * Dest,
int32 ArrayDim
) const
Remarks
Reinitialize a struct in memory. This may be done by calling the native destructor and then the constructor or individually reinitializing properties
Parameters
| Name | Description |
|---|---|
| Dest | Pointer to memory to reinitialize |
| ArrayDim | Number of elements in the array |
| Stride | Stride of the array, only relevant if there more than one element. If this default (0), then we will pull the size from the struct |