Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements > API/Plugins/DatasmithImporter/ObjectElements/UDatasmithSceneElementBase
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUSceneElement.h |
| Include | #include "ObjectElements/DatasmithUSceneElement.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/ObjectElements/DatasmithUSceneElement.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Datasmith &124; Scene",
Meta&61;&40;DeterminesOutputType&61;"ObjectClass", DynamicOutputParam&61;"OutObjects"&41;&41;
void GetAllObjectsAndValuesForKey
&40;
const FString & Key,
TSubclassOf< UDatasmithObjectElement > ObjectClass,
TArray< UDatasmithObjectElement &42; > & OutObjects,
TArray< FString > & OutValues
&41;
Remarks
Find all objects of the given type that have a metadata element that contains the given key and their associated values.
Parameters
| Name | Description |
|---|---|
| Key | The key to find in the metadata element. |
| ObjectClass | Class of the object on which to filter, if specificed; otherwise there's no filtering |
| OutObjects | Output array of objects for which the metadata element contains the given key. |
| OutValues | Output array of values associated with each object in OutObjects. |