Navigation
API > API/Plugins > API/Plugins/OperatorStackEditor > API/Plugins/OperatorStackEditor/Customizations
Inheritance Hierarchy
- UObject
- UOperatorStackEditorStackCustomization
References
| Module | OperatorStackEditor |
| Header | /Engine/Plugins/Experimental/OperatorStack/Source/OperatorStack/Public/Customizations/OperatorStackEditorStackCustomization.h |
| Include | #include "Customizations/OperatorStackEditorStackCustomization.h" |
Syntax
UCLASS (MinimalAPI, Abstract, Transient)
class UOperatorStackEditorStackCustomization : public UObject
Remarks
Abstract class to represent an operator stack containing items, an item is represented by a header-body-footer, An item can contain multiple items (recursive), Children class extending this class are automatically registered
Constructors
| Type | Name | Description | |
|---|---|---|---|
UOperatorStackEditorStackCustomization
(
const FName& InIdentifier, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CustomizeItemBody
(
const FOperatorStackEditorItemPtr& InItem, |
Customize the body for a supported item | |
| void | CustomizeItemFooter
(
const FOperatorStackEditorItemPtr& InItem, |
Customize the body for a supported item | |
| void | CustomizeItemHeader
(
const FOperatorStackEditorItemPtr& InItem, |
Customize the header for a supported item | |
| void | CustomizeStackBody
(
const FOperatorStackEditorTree& InItemTree, |
Customize the full stack body | |
| void | CustomizeStackHeader
(
const FOperatorStackEditorTree& InItemTree, |
Customize the header for a context | |
| bool | GetChildrenItem
(
const FOperatorStackEditorItemPtr& InItem, |
Retrieves the supported children items based out of a parent item, Children classes must implement this | |
| const FSlateBrush * | GetIcon () |
Get the displayed icon of this customization | |
| const FName & | Get identifier of this customization | ||
| const FText & | GetLabel () |
Get display label of this customization | |
| int32 | GetPriority () |
Get stack priority in the toolbar | |
| bool | GetRootItem
(
const FOperatorStackEditorContext& InContext, |
Retrieves root supported item out of the provided context, Children classes must implement this | |
| bool | IsCustomizationSupportedFor
(
const FOperatorStackEditorItemPtr& InItem |
Checks if this customization is supported for this item | |
| void | OnDropItem
(
const TArray< FOperatorStackEditorItemPtr >& InDraggedItems, |
Handle dropped items onto target zone | |
| bool | OnIsItemDraggable
(
const FOperatorStackEditorItemPtr& InItem |
Can an item be dragged | |
| bool | OnIsItemSelectable
(
const FOperatorStackEditorItemPtr& InItem |
Can an item be selected | |
| TOptional< EItemDropZone > | OnItemCanAcceptDrop
(
const TArray< FOperatorStackEditorItemPtr >& InDraggedItems, |
Get the valid drop zone of draggable items onto a zone item | |
| bool | RegisterCustomizationFor
(
const UStruct* InItemDefinition |
Registers items with this definition that can use this customization | |
| bool | RegisterCustomizationFor
(
const FFieldClass* InItemDefinition |
||
| bool | UnregisterCustomizationFor
(
const UStruct* InItemDefinition |
Unregisters item definition for this customization | |
| bool | UnregisterCustomizationFor
(
const FFieldClass* InItemDefinition |