/Engine/Source/Editor/SceneOutliner/Public/SSceneOutliner.h
Use a selector to retrieve a specific data type from items in the selection. Will only add an item's data if the selector returns true for that item.
template<typename [DataType](API\Plugins\OptimusCore\DataType)> [TArray](API\Runtime\Core\Containers\TArray)< [DataType](API\Plugins\OptimusCore\DataType) > GetData ( [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [TWeakPtr](API\Runtime\Core\Templates\TWeakPtr)< [ISceneOutlinerTreeItem](API\Editor\SceneOutliner\ISceneOutlinerTreeItem) > &, [DataType](API\Plugins\OptimusCore\DataType) &)> Selector ) const