Navigation
API > API/Editor > API/Editor/SceneOutliner
Stores a set of selected items with parsing functions for the scene outliner
| Name | FSceneOutlinerItemSelection |
| Type | struct |
| Header File | /Engine/Source/Editor/SceneOutliner/Public/SSceneOutliner.h |
| Include Path | #include "SSceneOutliner.h" |
Syntax
struct FSceneOutlinerItemSelection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SSceneOutliner.h | |||
FSceneOutlinerItemSelection
(
const TArray< FSceneOutlinerTreeItemPtr >& InSelectedItems |
SSceneOutliner.h | ||
| SSceneOutliner.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SelectedItems | TArray< TWeakPtr< ISceneOutlinerTreeItem > > | Set of selected items | SSceneOutliner.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
FSceneOutlinerTreeItemPtr NewItem |
Add a new item to the selection | SSceneOutliner.h | |
void ForEachItem
(
TFunctionRef< void(TreeType&)> Func |
Apply a function to each item of a specified type | SSceneOutliner.h | |
void ForEachItem
(
TFunctionRef< void(FSceneOutlinerTreeItemPtr&)> Func |
Apply a function to every item in the selection regardless of type. | SSceneOutliner.h | |
void Get
(
TArray< TreeType* >& OutArray |
Get all items of a specified type | SSceneOutliner.h | |
void Get
(
TArray< FSceneOutlinerTreeItemPtr >& OutArray |
SSceneOutliner.h | ||
TArray< DataType > GetData
(
TFunctionRef< bool(const TWeakPtr< ISceneOutlinerTreeItem >&, DataType&)> Selector |
Use a selector to retrieve a specific data type from items in the selection. | SSceneOutliner.h | |
bool Has() |
Returns true if the selection has an item of a specified type | SSceneOutliner.h | |
uint32 Num () |
Returns the total number of items in the selection | SSceneOutliner.h | |
uint32 Num () |
Returns the number of items of the specified types in the selection | SSceneOutliner.h |