Navigation
API > API/Plugins > API/Plugins/OperatorStackEditor > API/Plugins/OperatorStackEditor/Subsystems
Inheritance Hierarchy
- UDynamicSubsystem
- UEditorSubsystem
- UOperatorStackEditorSubsystem
References
| Module | OperatorStackEditor |
| Header | /Engine/Plugins/Experimental/OperatorStack/Source/OperatorStack/Public/Subsystems/OperatorStackEditorSubsystem.h |
| Include | #include "Subsystems/OperatorStackEditorSubsystem.h" |
Syntax
UCLASS ()
class UOperatorStackEditorSubsystem : public UEditorSubsystem
Remarks
Subsystem that handles operator stack customization
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, TObjectPtr< UOperatorStackEditorStackCustomization > > | CustomizationStacks | Map of identifier and stack customization models | |
| TMap< int32, TWeakPtr< SOperatorStackEditorWidget > > | CustomizationWidgets | Current widget created associated to an identifier |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
||
| TSharedPtr< SOperatorStackEditorWidget > | FindWidget
(
int32 InId |
Finds an existing operator stack widget | |
| bool | ForEachCustomization
(
TFunctionRef< bool(UOperatorStackEditorStackCustomization*)> InFunction |
Loops through each customization stack in priority order, stops if false returned within function | |
| bool | ForEachCustomizationWidget
(
TFunctionRef< bool(TSharedRef< SOperatorStackEditorWidget >)> InFunction |
Loops through each operator stack widgets available | |
| TSharedRef< SOperatorStackEditorWidget > | Generate an operator stack widget | ||
| UOperatorStackEditorSubsystem * | Get () |
||
| UOperatorStackEditorStackCustomization * | GetCustomization
(
const FName& InName |
Get customization with identifier | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
||
| void | OnWidgetDestroyed
(
int32 InPanelId |
||
| bool | RegisterStackCustomization
(
TSubclassOf< UOperatorStackEditorStackCustomization > InStackCustomizationClass |
||
| void | |||
| bool | UnregisterStackCustomization
(
TSubclassOf< UOperatorStackEditorStackCustomization > InStackCustomizationClass |