| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonButtonBase.h |
Include |
#include "CommonButtonBase.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Blueprintable, ClassGroup=UI, Meta=(Category="Common UI"))
class UCommonButtonStyle : public UObject
All properties must be EditDefaultsOnly, BlueprintReadOnly !!! -- we return the CDO to blueprints, so we cannot allow any changes (blueprint doesn't support const variables)
Name | Description | ||
---|---|---|---|
|
bSingleMaterial |
Whether or not the style uses a drop shadow |
|
|
ButtonPadding |
The button content padding to apply for each size |
|
|
CustomPadding |
The custom padding of the button to use for each size |
|
|
Disabled |
The disabled brush to apply to each size of this button |
|
|
DisabledHoveredSlateSound |
The sound to play when the button is hovered while disabled |
|
|
DisabledPressedSlateSound |
The sound to play when the button is pressed while disabled |
|
|
TSubclassOf< UC... |
DisabledTextStyle |
The text style to use when disabled |
|
HoveredSlateSound |
The sound to play when the button is hovered |
|
|
MinHeight |
The minimum height of buttons using this style |
|
|
MinWidth |
The minimum width of buttons using this style |
|
|
NormalBase |
The normal (un-selected) brush to apply to each size of this button |
|
|
NormalHovered |
The normal (un-selected) brush to apply to each size of this button when hovered |
|
|
TSubclassOf< UC... |
NormalHoveredTextStyle |
The text style to use when un-selected |
|
NormalPressed |
The normal (un-selected) brush to apply to each size of this button when pressed |
|
|
TSubclassOf< UC... |
NormalTextStyle |
The text style to use when un-selected |
|
PressedSlateSound |
The sound to play when the button is pressed |
|
|
SelectedBase |
The selected brush to apply to each size of this button |
|
|
SelectedHovered |
The selected brush to apply to each size of this button when hovered |
|
|
SelectedHoveredSlateSound |
The sound to play when the button is hovered while selected |
|
|
TSubclassOf< UC... |
SelectedHoveredTextStyle |
The text style to use when un-selected |
|
SelectedPressed |
The selected brush to apply to each size of this button when pressed |
|
|
SelectedPressedSlateSound |
The sound to play when the button is pressed while selected |
|
|
TSubclassOf< UC... |
SelectedTextStyle |
The text style to use when selected |
|
SingleMaterialBrush |
The normal (un-selected) brush to apply to each size of this button |
Name | Description | ||
---|---|---|---|
|
GetButtonPadding ( |
||
|
GetCustomPadding ( |
||
|
GetDisabledBrush ( |
||
|
UCommonTextS... |
GetDisabledTextStyle() |
|
|
GetMaterialBrush ( |
||
|
GetNormalBaseBrush ( |
||
|
GetNormalHoveredBrush ( |
||
|
UCommonTextS... |
GetNormalHoveredTextStyle() |
|
|
GetNormalPressedBrush ( |
||
|
UCommonTextS... |
GetNormalTextStyle() |
|
|
GetSelectedBaseBrush ( |
||
|
GetSelectedHoveredBrush ( |
||
|
UCommonTextS... |
GetSelectedHoveredTextStyle() |
|
|
GetSelectedPressedBrush ( |
||
|
UCommonTextS... |
GetSelectedTextStyle() |