TWeakPtr::HasSameObject

Returns true if the object this weak pointer points to is the same as the specified object pointer.

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h

Include

#include "Templates/SharedPointer.h"

Syntax

bool HasSameObject
(
    const void * InOtherPtr
) const

Remarks

Returns true if the object this weak pointer points to is the same as the specified object pointer.

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