Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/DatasmithContentBlueprintLibrary.h |
Include |
#include "DatasmithContentBlueprintLibrary.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Private/DatasmithContentBlueprintLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Datasmith User Data",
Meta=(DeterminesOutputType="ObjectClass", DynamicOutputParam="OutObjects"))
static void GetAllObjectsAndValuesForKey
(
FName Key,
TSubclassOf< UObject > ObjectClass,
TArray< UObject * > & OutObjects,
TArray< FString > & OutValues
)
Find all loaded objects of the given type that have a Datasmith User Data that contains the given key and their associated values. This is a slow operation, so editor only.
Parameter |
Description |
---|---|
Key |
The key to find in the Datasmith User Data. |
ObjectClass |
Class of the object on which to filter, if specificed; otherwise there's no filtering |
OutObjects |
Output array of objects for which the Datasmith User Data match the given key. |
OutValues |
Output array of values associated with each object in OutObjects. |