TSharedPtr::Get

Returns the object referenced by this pointer, or nullptr if no object is reference

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/SharedPointer.h"

Syntax

ObjectType * Get() const

Remarks

Returns the object referenced by this pointer, or nullptr if no object is reference

Returns

The object owned by this shared pointer, or nullptr

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