Navigation
API > API/Plugins > API/Plugins/OperatorStackEditor > API/Plugins/OperatorStackEditor/Builders
References
| Module | OperatorStackEditor |
| Header | /Engine/Plugins/Experimental/OperatorStack/Source/OperatorStack/Public/Builders/OperatorStackEditorBodyBuilder.h |
| Include | #include "Builders/OperatorStackEditorBodyBuilder.h" |
Syntax
struct FOperatorStackEditorBodyBuilder
Remarks
Body builder for item
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedRef< FCustomDetailsViewItemId > > | AllowedDetailsViewItems | Allowed items inside details view | |
| bool | bShowDetailsView | Does this body contains a details view | |
| TArray< TSharedRef< FCustomDetailsViewItemId > > | CollapsedDetailsViewItems | Collapsed items inside details view | |
| TSharedPtr< SWidget > | CustomWidget | Custom widget to replace content | |
| TSharedPtr< FOperatorStackEditorItem > | DetailsViewItem | Override actual item to display detail view | |
| TArray< TSharedRef< FCustomDetailsViewItemId > > | DisallowedDetailsViewItems | Disallowed items inside details view | |
| FText | EmptyBodyText | When the body is empty, this will be displayed | |
| TArray< TSharedRef< FCustomDetailsViewItemId > > | ExpandedDetailsViewItems | Expanded items inside details view |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FOperatorStackEditorBodyBuilder & | AllowCategory
(
const FName& InCategory |
Allow specific category in the details view | |
| FOperatorStackEditorBodyBuilder & | AllowProperty
(
FProperty* InProperty |
Allow specific property in the details view | |
| FOperatorStackEditorBodyBuilder & | CollapseProperty
(
FProperty* InProperty |
Collapse property state in the details view | |
| FOperatorStackEditorBodyBuilder & | DisallowCategory
(
const FName& InCategory |
Disallow specific category in the details view | |
| FOperatorStackEditorBodyBuilder & | DisallowProperty
(
FProperty* InProperty |
Disallow specific property in the details view | |
| FOperatorStackEditorBodyBuilder & | ExpandProperty
(
FProperty* InProperty |
Expand property state in the details view | |
| const TArray< TSharedRef< FCustomDetailsViewItemId > > & | |||
| const TArray< TSharedRef< FCustomDetailsViewItemId > > & | |||
| TSharedPtr< SWidget > | |||
| TSharedPtr< FOperatorStackEditorItem > | |||
| const TArray< TSharedRef< FCustomDetailsViewItemId > > & | |||
| const FText & | |||
| const TArray< TSharedRef< FCustomDetailsViewItemId > > & | |||
| bool | |||
| FOperatorStackEditorBodyBuilder & | SetCustomWidget
(
TSharedPtr< SWidget > InWidget |
Override the stack generated widget with a custom one | |
| FOperatorStackEditorBodyBuilder & | SetDetailsViewItem
(
TSharedPtr< FOperatorStackEditorItem > InItem |
Set the item that needs to be displayed by the details view overriding current item | |
| FOperatorStackEditorBodyBuilder & | SetEmptyBodyText
(
const FText& InText |
Set a text that will be displayed when it is empty | |
| FOperatorStackEditorBodyBuilder & | SetShowDetailsView
(
bool bInShowDetailsView |
Show a details view for the current item |