TWeakInterfacePtr::TWeakInterfacePtr

Construct from an object pointer

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/WeakInterfacePtr.h"

Syntax

template<typename U, decltype(ImplicitConv< typename TCopyQualifiersFromTo< U, UObject >::Type * >((U *) nullptr))*>
TWeakInterfacePtr
(
    U * Object
)

Remarks

Construct from an object pointer

Parameters

Parameter

Description

Object

The object to create a weak pointer to. This object must implement interface T.

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