TNiagaraSelection

A set of selected objects which calls a delegate any time it is changed.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TNiagaraSelection

FNiagaraObjectSelection

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraObjectSelection.h

Include

#include "NiagaraObjectSelection.h"

Syntax

template<typename SelectedItemType>
class TNiagaraSelection

Remarks

A set of selected objects which calls a delegate any time it is changed.

Functions

Name Description

Public function

void

 

ClearSelectedObjects()

Empties the currently selected set of objects.

Public function Const

const void &...

 

GetAdditionalSelectionInfo()

Public function Const

const TSet< ...

 

GetSelectedObjects()

Gets the set of selected objects.

Public function

FOnSelectedO...

 

OnSelectedObjectsChanged()

Gets a multicast delegate which is called any time the set of selected objects is changed.

Public function

void

 

Refresh()

Refresh all views subscribed to OnSelectedObjectsChanged.

Public function

void

 

SetSelectedObject

(
    SelectedItemType SelectedObject
)

Replaces the currently selected set of objects with the supplied object.

Public function

void

 

SetSelectedObject

(
    SelectedItemType SelectedObject,
    const void* InSelectionInfo
)

Replaces the currently selected set of objects with the supplied object.

Public function

void

 

SetSelectedObjects

(
    const TSet< SelectedItemType >& In...
)

Replaces the currently selected set of objects with the supplied set.

Public function

void

 

SetSelectedObjects

(
    const TArray< SelectedItemType >& ...
)

Replaces the currently selected set of objects with the supplied array.

Typedefs

Name

Description

FOnSelectedObjectsChanged