/Engine/Source/Editor/PropertyEditor/Public/DetailLayoutBuilder.h
Get the root objects (of ObjectType) observed by this layout. This is not guaranteed to be the same as the objects customized by this builder. See GetObjectsBeingCustomized for that.
template<typename ObjectType> [TArray](API\Runtime\Core\Containers\TArray)< [TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)< ObjectType > > GetSelectedObjectsOfType() const