/Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h
Add the actors to the named layers
true if at least one actor was added to at least one layer. false is returned if all the actors already belonged to all specified layers.
virtual bool AddActorsToLayers ( const [TArray](API\Runtime\Core\Containers\TArray)< [TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)< [AActor](API\Runtime\Engine\GameFramework\AActor) > > & Actors, const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & LayerNames )