Navigation
API > API/Developer > API/Developer/WidgetRegistration
FSeparatorBuilder instances will build a TSharedRef
| Name | FSeparatorBuilder |
| Type | class |
| Header File | /Engine/Source/Developer/WidgetRegistration/Public/Layout/SeparatorBuilder.h |
| Include Path | #include "Layout/SeparatorBuilder.h" |
Syntax
class FSeparatorBuilder : public FToolElementRegistrationArgs
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FToolElementRegistrationArgs → FSeparatorBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSeparatorBuilder
(
EStyleColor InColor, |
Constructs the FSeparatorBuilder. | Layout/SeparatorBuilder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Image | const FSlateBrush * | The const FSlateBrush* for the SSeparator | Layout/SeparatorBuilder.h | |
| Orientation | EOrientation | The EOrientation that specifies whether this is a horizontal or vertical Separator | Layout/SeparatorBuilder.h | |
| Size | float | The FSeparatorSize that specifies the Size for this Separator. | Layout/SeparatorBuilder.h | |
| SlateColor | TAttribute< FSlateColor > | The FSlateColor that specifies the Color for this Separator. | Layout/SeparatorBuilder.h | |
| Visibility | TAttribute< EVisibility > | The TAttribute |
Layout/SeparatorBuilder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSeparatorBuilder & BindVisibility
(
TAttribute< EVisibility > NewVisibility |
Binds the Visibility of the Separator to a TAttribute for continuous update. | Layout/SeparatorBuilder.h | |
FSeparatorBuilder & InitializeSize
(
const FSeparatorSize& NewSize |
Initializes the size of the separator. | Layout/SeparatorBuilder.h | |
FSeparatorBuilder & SetColor
(
const EStyleColor& NewColor |
Sets the color of the Separator. | Layout/SeparatorBuilder.h | |
TSharedRef< SSeparator > ToSSeparatorSharedRef() |
Generates the SSeparator and returns the TSharedRef |
Layout/SeparatorBuilder.h |
Overridden from FToolElementRegistrationArgs
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > GenerateWidget() |
Implements the generation of the TSharedPtr |
Layout/SeparatorBuilder.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< SSeparator > operator*() |
Generates the SSeparator and returns the TSharedRef |
Layout/SeparatorBuilder.h |