TWeakObjectPtr::operator=

Assign from another weak pointer, 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 & operator=
(
    const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > & Other
)

Remarks

Assign from another weak pointer, intended for derived-to-base conversions

Parameters

Parameter

Description

Other

weak pointer to copy from