unreal.AudioMeterStyle

class unreal.AudioMeterStyle(meter_value_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], 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], meter_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], meter_value_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], meter_peak_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], meter_size=[250.0, 25.0], meter_padding=[10.0, 5.0], meter_value_padding=3.0, peak_value_width=2.0, value_range_db=[- 60.0, 10.0], show_scale=True, scale_side=True, scale_hash_offset=5.0, scale_hash_width=1.0, scale_hash_height=10.0, decibels_per_hash=5, font=[None, None, [0, False, False, None, [0.0, 0.0, 0.0, 1.0]], 'Regular', 5, 0])

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SAudioMeter

C++ Source:

  • Plugin: AudioWidgets

  • Module: AudioWidgets

  • File: AudioMeterStyle.h

Editor Properties: (see get_editor_property/set_editor_property)

  • background_image (SlateBrush): [Read-Write] Background Image: Image to use to represent the background.

  • decibels_per_hash (int32): [Read-Write] Decibels Per Hash: How wide to draw the decibel scale, if it’s enabled

  • font (SlateFontInfo): [Read-Write] Font: Font family and size to be used when displaying the meter scale.

  • meter_background_image (SlateBrush): [Read-Write] Meter Background Image: Image to use to represent the meter background.

  • meter_padding (Vector2D): [Read-Write] Meter Padding: How much padding to add around the meter

  • meter_peak_image (SlateBrush): [Read-Write] Meter Peak Image: Image to use to represent the meter peak.

  • meter_size (Vector2D): [Read-Write] Meter Size: How thick to draw the meter

  • meter_value_background_image (SlateBrush): [Read-Write] Meter Value Background Image: Image to use to draw behind the meter value.

  • meter_value_image (SlateBrush): [Read-Write] Meter Value Image: Image to use to represent the meter value.

  • meter_value_padding (float): [Read-Write] Meter Value Padding: How much padding to add around the meter value

  • peak_value_width (float): [Read-Write] Peak Value Width: How wide to draw the peak value indicator

  • scale_hash_height (float): [Read-Write] Scale Hash Height: The height of each hash mark

  • scale_hash_offset (float): [Read-Write] Scale Hash Offset: Offset for the hashes

  • scale_hash_width (float): [Read-Write] Scale Hash Width: The width of each hash mark

  • scale_side (bool): [Read-Write] Scale Side: Which side to show the scale. If vertical, true means left side, false means right side. If horizontal, true means above, false means below.

  • show_scale (bool): [Read-Write] Show Scale: Whether or not to show the decibel scale alongside the meter

  • value_range_db (Vector2D): [Read-Write] Value Range Db: The minimum and maximum value to display in dB (values are clamped in this range)

property background_image

[Read-Write] Background Image: Image to use to represent the background.

Type

(SlateBrush)

property decibels_per_hash

[Read-Write] Decibels Per Hash: How wide to draw the decibel scale, if it’s enabled

Type

(int32)

property font

[Read-Write] Font: Font family and size to be used when displaying the meter scale.

Type

(SlateFontInfo)

property meter_background_image

[Read-Write] Meter Background Image: Image to use to represent the meter background.

Type

(SlateBrush)

property meter_padding

[Read-Write] Meter Padding: How much padding to add around the meter

Type

(Vector2D)

property meter_peak_image

[Read-Write] Meter Peak Image: Image to use to represent the meter peak.

Type

(SlateBrush)

property meter_size

[Read-Write] Meter Size: How thick to draw the meter

Type

(Vector2D)

property meter_value_background_image

[Read-Write] Meter Value Background Image: Image to use to draw behind the meter value.

Type

(SlateBrush)

property meter_value_image

[Read-Write] Meter Value Image: Image to use to represent the meter value.

Type

(SlateBrush)

property meter_value_padding

[Read-Write] Meter Value Padding: How much padding to add around the meter value

Type

(float)

property peak_value_width

[Read-Write] Peak Value Width: How wide to draw the peak value indicator

Type

(float)

property scale_hash_height

[Read-Write] Scale Hash Height: The height of each hash mark

Type

(float)

property scale_hash_offset

[Read-Write] Scale Hash Offset: Offset for the hashes

Type

(float)

property scale_hash_width

[Read-Write] Scale Hash Width: The width of each hash mark

Type

(float)

property scale_side

[Read-Write] Scale Side: Which side to show the scale. If vertical, true means left side, false means right side. If horizontal, true means above, false means below.

Type

(bool)

property show_scale

[Read-Write] Show Scale: Whether or not to show the decibel scale alongside the meter

Type

(bool)

property value_range_db

[Read-Write] Value Range Db: The minimum and maximum value to display in dB (values are clamped in this range)

Type

(Vector2D)