Navigation
Unreal Engine C++ API Reference > Plugins > VariantManager > FVariantManager > CanAddActorsToVariant
References
Module | VariantManager |
Header | /Engine/Plugins/Enterprise/VariantManager/Source/VariantManager/Public/VariantManager.h |
Include | #include "VariantManager.h" |
Source | /Engine/Plugins/Enterprise/VariantManager/Source/VariantManager/Private/VariantManager.cpp |
void CanAddActorsToVariant
&40;
const TArray< TWeakObjectPtr< AActor >> & InActors,
const UVariant &42; InVariant,
TArray< TWeakObjectPtr< AActor >> & OutActorsWeCanAdd
&41;
Remarks
Returns which actors we can add to an existing UVariant, since we only allow one per actor per variant We can force add/replace with AddObjectBindings, but this allows us to check how many will be added, which is used for tooltips and feedback