unreal.ProgressBarStyle

class unreal.ProgressBarStyle(background_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], fill_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], marquee_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], enable_fill_animation=False)

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SProgressBar

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • background_image (SlateBrush): [Read-Write] Background Image: Background image to use for the progress bar

  • enable_fill_animation (bool): [Read-Write] Enable Fill Animation: Enables a simple animation on the fill image to give the appearance that progress has not stalled. Disable this if you have a custom material which animates itself. This requires a pattern in your material or texture to give the appearance of movement. A solid color will show no movement.

  • fill_image (SlateBrush): [Read-Write] Fill Image: Foreground image to use for the progress bar

  • marquee_image (SlateBrush): [Read-Write] Marquee Image: Image to use for marquee mode

property background_image

[Read-Write] Background Image: Background image to use for the progress bar

Type

(SlateBrush)

property enable_fill_animation

[Read-Write] Enable Fill Animation: Enables a simple animation on the fill image to give the appearance that progress has not stalled. Disable this if you have a custom material which animates itself. This requires a pattern in your material or texture to give the appearance of movement. A solid color will show no movement.

Type

(bool)

property fill_image

[Read-Write] Fill Image: Foreground image to use for the progress bar

Type

(SlateBrush)

property marquee_image

[Read-Write] Marquee Image: Image to use for marquee mode

Type

(SlateBrush)