CanAddActorsToVariant

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

CanAddActorsToVariant

(
    const TArray< TWeakObjectPtr< AActo...,
    const UVariant* InVariant,
    TArray< TWeakObjectPtr< AActor >>&...
)

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

Public function

void

 

CanAddActorsToVariant

(
    const TArray< UObject* >& InA...,
    const UVariant* InVariant,
    TArray< UObject* >& OutActors...
)

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