Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/StructOnScope.h |
| Include | #include "UObject/StructOnScope.h" |
template<typename T, typename U, typename... TArgs>
TStructOnScope < T > MakeStructOnScope
(
TArgs &&... Args
)
Remarks
Allocates a new struct of type U with the given arguments and returns it as a Typed StructOnScope of type T.
A TStructOnScope
Parameters
| Name | Description |
|---|---|
| Args | The arguments to pass to the constructor of U. |