Module |
|
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](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Datasmith | Scene",
Meta=(DeterminesOutputType="ObjectClass", DynamicOutputParam="OutObjects"))
void GetAllObjectsAndValuesForKey
(
const FString & Key,
TSubclassOf< UDatasmithObjectElement > ObjectClass,
TArray< UDatasmithObjectElement * > & OutObjects,
TArray< FString > & OutValues
)
Find all objects of the given type that have a metadata element that contains the given key and their associated values.
Parameter |
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. |