ULayersSubsystem::SelectActorsInLayers

Selects/de-selects actors belonging to the named layers.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h

Include

#include "Layers/LayersSubsystem.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Layers/LayersSubsystem.cpp

Syntax

bool SelectActorsInLayers
(
    const TArray< FName > & LayerNames,
    const bool bSelect,
    const bool bNotify,
    const bool bSelectEvenIfHidden
)

Remarks

Selects/de-selects actors belonging to the named layers.

Returns

true if at least one actor was selected/deselected.

Parameters

Parameter

Description

LayerNames

A valid list of layer names.

bSelect

If true actors are selected; if false, actors are deselected.

bNotify

If true the Editor is notified of the selection change; if false, the Editor will not be notified

bSelectEvenIfHidden

[optional] If true even hidden actors will be selected; if false, hidden actors won't be selected.

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