UObjectBaseUtility::GetPackage

Walks up the list of outers until it finds a package directly associated with the object.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h

Include

#include "UObject/UObjectBaseUtility.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp

Syntax

UPackage * GetPackage() const

Remarks

Walks up the list of outers until it finds a package directly associated with the object.

Returns

the package the object is in.

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