unreal.SliderStyle

class unreal.SliderStyle(normal_bar_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], hovered_bar_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], disabled_bar_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], normal_thumb_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], hovered_thumb_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], disabled_thumb_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], bar_thickness=2.0)

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SSlider

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bar_thickness (float): [Read-Write] Bar Thickness

  • disabled_bar_image (SlateBrush): [Read-Write] Image to use when the slider bar is in its disabled state

  • disabled_thumb_image (SlateBrush): [Read-Write] Image to use when the slider thumb is in its disabled state

  • hovered_bar_image (SlateBrush): [Read-Write] Image to use when the slider bar is in its hovered state

  • hovered_thumb_image (SlateBrush): [Read-Write] Image to use when the slider thumb is in its hovered state

  • normal_bar_image (SlateBrush): [Read-Write] Image to use when the slider bar is in its normal state

  • normal_thumb_image (SlateBrush): [Read-Write] Image to use when the slider thumb is in its normal state

property bar_thickness

[Read-Write] Bar Thickness

Type

(float)

property disabled_bar_image

[Read-Write] Image to use when the slider bar is in its disabled state

Type

(SlateBrush)

property disabled_thumb_image

[Read-Write] Image to use when the slider thumb is in its disabled state

Type

(SlateBrush)

property hovered_bar_image

[Read-Write] Image to use when the slider bar is in its hovered state

Type

(SlateBrush)

property hovered_thumb_image

[Read-Write] Image to use when the slider thumb is in its hovered state

Type

(SlateBrush)

property normal_bar_image

[Read-Write] Image to use when the slider bar is in its normal state

Type

(SlateBrush)

property normal_thumb_image

[Read-Write] Image to use when the slider thumb is in its normal state

Type

(SlateBrush)