TWeakInterfacePtr::TWeakInterfacePtr

Construct from an interface pointer

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/WeakInterfacePtr.h"

Syntax

TWeakInterfacePtr
(
    T * Interface
)

Remarks

Construct from an interface pointer

Parameters

Parameter

Description

Interface

The interface pointer to create a weak pointer to. There must be a UObject behind the interface.

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