TWeakInterfacePtr::TWeakInterfacePtr

Construct from an interface pointer

Choose your operating system:

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.