Module |
|
Header |
/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/Variant.h |
Include |
#include "Variant.h" |
Source |
/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/Variant.cpp |
[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 & GetDependency
(
int32 Index
)
Returning by reference in blueprint doesn't seem to work if we want to later modify the FVariantDependency, 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