Navigation
API > API/Plugins > API/Plugins/DisplayClusterOperator
Interface for a view model object that stores any state from the operator panel that should be exposed externally
| Name | IDisplayClusterOperatorViewModel |
| Type | class |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterOperator/Public/IDisplayClusterOperatorViewModel.h |
| Include Path | #include "IDisplayClusterOperatorViewModel.h" |
Syntax
class IDisplayClusterOperatorViewModel
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnActiveRootActorChanged | TMulticastDelegate_OneParam< void, ADisplayClusterRootActor * > | IDisplayClusterOperatorViewModel.h | |
| FOnActorsSelected | TMulticastDelegate_TwoParams< void, const TArray< AActor * > &, bool bShouldSelect > | IDisplayClusterOperatorViewModel.h | |
| FOnDetailObjectsChanged | TMulticastDelegate_OneParam< void, const TArray< UObject * > & > | IDisplayClusterOperatorViewModel.h | |
| FOnOutlinerSelectionChanged | TMulticastDelegate_OneParam< void, const TArray< AActor * > & > | IDisplayClusterOperatorViewModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< TWeakObjectPtr< UObject > > GetDetailObjects() |
Gets the list of objects being displayed in the operator's details panel | IDisplayClusterOperatorViewModel.h | |
ADisplayClusterRootActor * GetRootActor
(
bool bEvenIfPendingKill |
Gets the root actor that is actively being edited by the operator panel | IDisplayClusterOperatorViewModel.h | |
TSharedPtr< FTabManager > GetTabManager() |
Gets the tab manager of the active operator panel, if there is an open operator panel | IDisplayClusterOperatorViewModel.h | |
TSharedPtr< FWorkspaceItem > GetWorkspaceMenuGroup() |
Gets the registered workspace menu group | IDisplayClusterOperatorViewModel.h | |
bool HasRootActor
(
bool bEvenIfPendingKill |
Gets whether the view model has been populated with a valid root actor | IDisplayClusterOperatorViewModel.h | |
FOnActiveRootActorChanged & OnActiveRootActorChanged() |
Gets the event handler that is raised when the operator panel changes the root actor being operated on | IDisplayClusterOperatorViewModel.h | |
FOnActorsSelected & OnActorsSelectedExternally() |
Gets the event handler that is raised when actors are selected from outside the operator itself, i.e. directly from this view model | IDisplayClusterOperatorViewModel.h | |
FOnDetailObjectsChanged & OnDetailObjectsChanged() |
Gets the event handler that is raised when the objects being displayed in the operator's details panel are changed | IDisplayClusterOperatorViewModel.h | |
FOnOutlinerSelectionChanged & OnOutlinerSelectionChanged() |
Gets the event handler that is raised when the actors selected in the operator's outliner panel are changed | IDisplayClusterOperatorViewModel.h | |
void SelectActors
(
const TArray< AActor* >& Actors, |
Selects the specified actors in the operator's outliner panel, or if bShouldSelect is false, deselects them | IDisplayClusterOperatorViewModel.h | |
void SetRootActor
(
ADisplayClusterRootActor* InRootActor |
Sets the root actor that is actively being edited by the operator panel | IDisplayClusterOperatorViewModel.h | |
void ShowDetailsForObject
(
UObject* Object |
Displays the properties of the specified object in the operator's details panel | IDisplayClusterOperatorViewModel.h | |
void ShowDetailsForObjects
(
const TArray< UObject* >& Objects |
Displays the properties of the specified object in the operator's details panel | IDisplayClusterOperatorViewModel.h |