Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UStruct
- UStruct::DestroyStruct()
- UPropertyBag::DestroyStruct()
- UScriptStruct::DestroyStruct()
- UPropertyBag::DestroyStruct()
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 |
virtual void DestroyStruct
(
void * Dest,
int32 ArrayDim
) const
Remarks
Destroy a struct in memory. This may be done by calling the native destructor or individually destroying properties
Parameters
Name | Description |
---|---|
Dest | Pointer to memory to destory |
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 |