TStructOnScope::InitializeFromChecked

Initialize the [TStructOnScope](API\Runtime\CoreUObject\UObject\TStructOnScope) from a [FStructOnScope](API\Runtime\CoreUObject\UObject\FStructOnScope) containing data that derives from T InOther The [FStructOnScope](API\Runtime\CoreUObject\UObject\FStructOnScope) to initialize from (will assert if it contains an invalid type to store for T)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/StructOnScope.h"

Syntax

void InitializeFromChecked
(
    FStructOnScope && InOther
)

Remarks

Initialize the TStructOnScope from a FStructOnScope containing data that derives from T InOther The FStructOnScope to initialize from (will assert if it contains an invalid type to store for T)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback