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 (BlueprintCallable, Category="Datasmith | Scene",
Meta=(DeterminesOutputType="ObjectClass", DynamicOutputParam="OutObjects"))
void GetAllObjectsAndValuesForKey
(
const FString & Key,
TSubclassOf < UDatasmithObjectElement > ObjectClass,
TArray < UDatasmithObjectElement * > & OutObjects,
TArray < FString > & OutValues
)
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. |