TUniquePtr::Get

Returns a pointer to the owned object without relinquishing ownership.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/UniquePtr.h"

Syntax

T * Get() const

Remarks

Returns a pointer to the owned object without relinquishing ownership.

Returns

A copy of the pointer to the object owned by the TUniquePtr, or nullptr if no object is being owned.

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