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

virtual bool SelectActorsInLayers
(
    const TArray< FName > & LayerNames,
    const bool bSelect,
    const bool bNotify,
    const bool bSelectEvenIfHidden,
    const TSharedPtr< ActorFilter > & Filter
)

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.

Filter

[optional] Actor that don't pass the specified filter restrictions 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