TextNamespaceUtil::GetPackageNamespace

Given an object, try and get the namespace it should use for localization (from its owner package).

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Internationalization/TextPackageNamespaceUtil.h

Include

#include "Internationalization/TextPackageNamespaceUtil.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Internationalization/TextPackageNamespaceUtil.cpp

Syntax

namespace TextNamespaceUtil
{
    FString TextNamespaceUtil::GetPackageNamespace
    (
        const UObject * InObject
    )
}

Remarks

Given an object, try and get the namespace it should use for localization (from its owner package).

Returns

The package namespace, or an empty string if the package has no namespace.

Parameters

Parameter

Description

InObject

The object to try and get the namespace for.

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