Navigation
Unreal Engine C++ API Reference > Runtime > Core > UObject > TWeakObjectPtr > Pin
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include | #include "UObject/WeakObjectPtrTemplates.h" |
TStrongObjectPtr < T > Pin() const
Remarks
Pin the weak pointer as a strong ptr. This is an optimized version implying bEvenIfPendingKill=false.