UDataLayerEditorSubsystem::SelectActorsInDataLayers

Selects/de-selects actors belonging to the DataLayers.

Unreal Engine C++ API Reference > Editor > DataLayerEditor > DataLayer > UDataLayerEditorSubsystem > SelectActorsInDataLayers

References

   
Module DataLayerEditor
Header /Engine/Source/Editor/DataLayerEditor/Public/DataLayer/DataLayerEditorSubsystem.h
Include #include "DataLayer/DataLayerEditorSubsystem.h"
Source /Engine/Source/Editor/DataLayerEditor/Private/DataLayer/DataLayerEditorSubsystem.cpp
bool SelectActorsInDataLayers
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * > & DataLayers,
    const bool bSelect,
    const bool bNotify,
    const bool bSelectEvenIfHidden
)

Remarks

Selects/de-selects actors belonging to the DataLayers. true if at least one actor was selected/deselected.

Parameters

Name Description
DataLayers A valid list of DataLayers.
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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library