TStructOnScope::InitializeAs

Initialize the [TStructOnScope](API\Runtime\CoreUObject\UObject\TStructOnScope) as a struct of type U which needs to derive from T InArgs The arguments to pass to the constructor of type U

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/StructOnScope.h

Include

#include "UObject/StructOnScope.h"

Syntax

template<typename U, typename, typename... TArgs>
void InitializeAs
(
    TArgs &&... InArgs
)

Remarks

Initialize the TStructOnScope as a struct of type U which needs to derive from T InArgs The arguments to pass to the constructor of type U

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss