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< TSharedPtr< FCustomDetailsViewItemId > > | AllowedDetailsViewItems | Allowed items inside details view | |
| bool | bShowDetailsView | Does this body contains a details view | |
| TSharedPtr< SWidget > | CustomWidget | Custom widget to replace content | |
| TSharedPtr< FOperatorStackEditorItem > | DetailsViewItem | Override actual item to display detail view | |
| TArray< TSharedPtr< FCustomDetailsViewItemId > > | DisallowedDetailsViewItems | Disallowed items inside details view | |
| FText | EmptyBodyText | When the body is empty, this will be displayed |
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 & | DisallowCategory
(
const FName& InCategory |
Disallow specific category in the details view | |
| FOperatorStackEditorBodyBuilder & | DisallowProperty
(
FProperty* InProperty |
Disallow specific property in the details view | |
| const TArray< TSharedPtr< FCustomDetailsViewItemId > > & | |||
| TSharedPtr< SWidget > | |||
| TSharedPtr< FOperatorStackEditorItem > | |||
| const TArray< TSharedPtr< FCustomDetailsViewItemId > > & | |||
| const FText & | |||
| bool | |||
| FOperatorStackEditorBodyBuilder & | SetCustomWidget
(
TSharedPtr< SWidget > InWidget |
Override the stack generated widget with a custom one | |
| FOperatorStackEditorBodyBuilder & | SetDetailsViewItem
(
TSharedPtr< FOperatorStackEditorItem > InItem |
||
| 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 |