/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/Variant.h
Returning by reference in blueprint doesn't seem to work if we want to later modify theFVariantDependency, so here we leave the return type without UPARAM(ref) so C++ code can use it as ref, while this function in blueprint returns by value
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, BlueprintPure, Category="Variant|Dependencies", Meta=(ToolTip="Get the dependency at index 'Index' by value. Will crash if index is invalid")) [FVariantDependency](API\Plugins\VariantManagerContent\FVariantDependency) & GetDependency ( int32 Index )