ULayersSubsystem::SelectActorsInLayer

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

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 SelectActorsInLayer
(
    const FName & LayerName,
    const bool bSelect,
    const bool bNotify,
    const bool bSelectEvenIfHidden
)

Remarks

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

Returns

true if at least one actor was selected/deselected.

Parameters

Parameter

Description

LayerName

A valid layer name.

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