FSubobjectPtr::Set

Sets the object pointer. Does runtime checks to see if the assignment is allowed.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp

Syntax

void Set
(
    UObject * InObject
)

Remarks

Sets the object pointer. Does runtime checks to see if the assignment is allowed.

Parameters

Parameter

Description

InObject

New subobject pointer.

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