Class AUxtPressableSwitchButtonActor
A derived actor of AUxtPressableRadioButtonActor which represents the toggle state with a switch that animates left and right.
Inheritance
System::Object
AActor
AUxtPressableSwitchButtonActor
Inherited Members
Namespace:
Assembly: .dll
Syntax
public: class AUxtPressableSwitchButtonActor : public xtPressableRadioButtonActor
Constructors
| Improve this Doc View SourceAUxtPressableSwitchButtonActor()
Declaration
public: AUxtPressableSwitchButtonActor()
UPROPERTY(EditAnywhere, Category="Uxt Pressable Button", BlueprintGetter="GetSwitchedOffIconBrush", BlueprintSetter="SetSwitchedOffIconBrush")
Structure which contains properties for the button's icon when switched off.
Declaration
protected: UPROPERTY(EditAnywhere, Category="Uxt Pressable Button", BlueprintGetter="GetSwitchedOffIconBrush", BlueprintSetter="SetSwitchedOffIconBrush") FUxtIconBrush SwitchedOffIconBrush
Parameters
| Type | Name | Description |
|---|---|---|
| EditAnywhere | _a_uxt_pressable_switch_button_actor_UPROPERTY_EditAnywhere_Category_BlueprintGetter_BlueprintSetter_ | |
| Category | _a_uxt_pressable_switch_button_actor_UPROPERTY_EditAnywhere_Category_BlueprintGetter_BlueprintSetter_ | |
| BlueprintGetter | _a_uxt_pressable_switch_button_actor_UPROPERTY_EditAnywhere_Category_BlueprintGetter_BlueprintSetter_ | |
| BlueprintSetter | _a_uxt_pressable_switch_button_actor_UPROPERTY_EditAnywhere_Category_BlueprintGetter_BlueprintSetter_ |
Methods
| Improve this Doc View SourceGetSwitchedOffIconBrush()
Accessor to the button's switched off icon brush.
Declaration
public: const FUxtIconBrush & GetSwitchedOffIconBrush() const
Returns
| Type | Description |
|---|---|
| const FUxtIconBrush & |
GetSwitchedOnIconBrush()
Accessor to the button's switched on icon brush.
Declaration
public: const FUxtIconBrush & GetSwitchedOnIconBrush() const
Returns
| Type | Description |
|---|---|
| const FUxtIconBrush & |
SetSwitchedOffIconBrush(const FUxtIconBrush &Brush)
Applies a new switched off icon brush.
Declaration
public: void SetSwitchedOffIconBrush(const FUxtIconBrush &Brush)
Parameters
| Type | Name | Description |
|---|---|---|
| const FUxtIconBrush & | Brush |
SetSwitchedOnIconBrush(const FUxtIconBrush &Brush)
Applies a new switched on icon brush.
Declaration
public: void SetSwitchedOnIconBrush(const FUxtIconBrush &Brush)
Parameters
| Type | Name | Description |
|---|---|---|
| const FUxtIconBrush & | Brush |
UpdateToggleVisuals()
Alters the toggle visuals when the toggle state changes.
Declaration
public: virtual void UpdateToggleVisuals() override