MakeWeakObjectPtr

Helper function which deduces the type of the initializer.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h

Include

#include "UObject/WeakObjectPtrTemplates.h"

Syntax

template<typename T>
TWeakObjectPtr< T > MakeWeakObjectPtr
(
    T * Ptr
)

Remarks

Helper function which deduces the type of the initializer.

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