FBlueprintNamespaceUtilities

A wrapper struct around various Blueprint namespace utility and support methods.

Unreal Engine C++ API Reference > Editor > Kismet

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintNamespaceUtilities.h
Include #include "BlueprintNamespaceUtilities.h"

Syntax

struct FBlueprintNamespaceUtilities  

Remarks

A wrapper struct around various Blueprint namespace utility and support methods.

Functions

Type Name Description
void ConvertPackagePathToNamespacePath ( const FString& InPackagePath, FString& OutNamespacePath ) Helper method to convert a package path to a Blueprint namespace identifier string.
FString GetAssetNamespace ( const FAssetData& InAssetData ) Analyzes the given asset to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace.
EDefaultBlue... GetDefaultBlueprintNamespaceType ()  
void GetDefaultImportsForObject ( const UObject* InObject, TSet< FString >& OutNamespaces ) Gathers the set of default namespaces that are implicitly imported by a given object's type.
FString GetObjectNamespace ( const UObject* InObject ) Analyzes the given object to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace.
FString GetObjectNamespace ( const FSoftObjectPath& InObjectPat... ) Analyzes the given object path to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace.
void GetPropertyValueNamespaces ( const FProperty* InProperty, const void* InContainer, TSet< FString >& OutNamespaces ) Analyzes a property value to determine explicitly-assigned namespace identifiers from any object references, or otherwise returns the default namespace for each occurrence (default).
void GetSharedGlobalImports ( TSet< FString >& OutNamespaces ) Gathers the set of global namespaces that are implicitly imported by all Blueprint assets.
FOnDefaultBl... OnDefaultBlueprintNamespaceTypeChanged ()  
void RefreshBlueprintEditorFeatures () Refresh the Blueprint editor environment to align with current namespace editor feature settings.
void SetDefaultBlueprintNamespaceType ( EDefaultBlueprintNamespaceType InTy... ) Sets the default Blueprint namespace type that objects/assets should use when not explicitly assigned.

Typedefs

Name Description
FOnDefaultBlueprintNamespaceTypeChanged Delegate invoked whenever the default Blueprint namespace type changes.

Deprecated Functions

Type Name Description
void GetDefaultImportsForBlueprint ( const UBlueprint* InBlueprint, TSet< FString >& OutNamespaces ) Please use GetDefaultImportsForObject instead
void GetPropertyValueNamespaces ( const UStruct* InStruct, const FProperty* InProperty, const void* InContainer, TSet< FString >& OutNamespaces ) Please use the updated version that removes the InStruct parameter (no longer needed).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library