/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h
Converts a shared pointer to a shared reference. The pointermustbe valid or an assertion will trigger.
Reference to the object
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< ObjectType, Mode > ToSharedRef() const