TWeakObjectPtr::TWeakObjectPtr

Construct from another weak pointer of another type, intended for derived-to-base conversions

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "UObject/WeakObjectPtrTemplates.h"

Syntax

template<typename OtherT, typename>
TWeakObjectPtr
(
    const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > & Other
)

Remarks

Construct from another weak pointer of another type, intended for derived-to-base conversions

Parameters

Parameter

Description

Other

weak pointer to copy from