/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h
Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. Also note that it is illegal to call this in the object's destructor.
Returns this object as a shared pointer (const)
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< ObjectType const, Mode > AsShared() const