FBlueprintNamespaceUtilities::GetObjectNamespace

Analyzes the given object path to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace.

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintNamespaceUtilities > GetObjectNamespace

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintNamespaceUtilities.h
Include #include "BlueprintNamespaceUtilities.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintNamespaceUtilities.cpp
static [FString](API\Runtime\Core\Containers\FString) GetObjectNamespace
(
    const [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) & InObjectPath
)

Remarks

Analyzes the given object path to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace. The unique Blueprint namespace identifier associated with the given object (even if unloaded), or an empty string if the object belongs to the global namespace (default).

Parameters

Name Description
InObjectPath Path to the given object (may not be loaded yet).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library