FVariantManager::CanAddActorsToVariant

Returns which actors we can add to an existing [UVariant](API\Plugins\VariantManagerContent\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

Windows
MacOS
Linux

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

Syntax

void CanAddActorsToVariant
(
    const TArray< UObject * > & InActors,
    const UVariant * InVariant,
    TArray< UObject * > & OutActorsWeCanAdd
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss