Navigation
API > API/Editor > API/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, |
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. | |
| EDefaultBlueprintNamespaceType | |||
| void | GetDefaultImportsForObject
(
const UObject* InObject, |
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& InObjectPath |
Analyzes the given object path to determine its explicitly-assigned namespace identifier, or otherwise returns its default namespace. | |
| void | GetPropertyValueNamespaces
(
const FProperty* InProperty, |
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. | |
| FOnDefaultBlueprintNamespaceTypeChanged & | |||
| void | Refresh the Blueprint editor environment to align with current namespace editor feature settings. | ||
| void | SetDefaultBlueprintNamespaceType
(
EDefaultBlueprintNamespaceType InType |
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, |
Please use GetDefaultImportsForObject instead | |
| void | GetPropertyValueNamespaces
(
const UStruct* InStruct, |
Please use the updated version that removes the InStruct parameter (no longer needed). |