Navigation
API > API/Plugins > API/Plugins/DatasmithContent > API/Plugins/DatasmithContent/UDatasmithContentBlueprintLibrar-
References
| Module | DatasmithContent |
| 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&40;BlueprintCallable, Category&61;"Editor Scripting &124; Datasmith User Data",
Meta&61;&40;DeterminesOutputType&61;"ObjectClass", DynamicOutputParam&61;"OutObjects"&41;&41;
static void GetAllObjectsAndValuesForKey
&40;
FName Key,
TSubclassOf< UObject > ObjectClass,
TArray< UObject &42; > & OutObjects,
TArray< FString > & OutValues
&41;
Remarks
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.
Parameters
| Name | 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. |