TWeakObjectPtr::TWeakObjectPtr

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

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

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