unreal.AudioMaterialMeterStyle

class unreal.AudioMaterialMeterStyle(material: MaterialInterface = Ellipsis, desired_size: Vector2f = Ellipsis, meter_fill_min_color: LinearColor = Ellipsis, meter_fill_mid_color: LinearColor = Ellipsis, meter_fill_max_color: LinearColor = Ellipsis, meter_fill_background_color: LinearColor = Ellipsis, meter_padding: Vector2D = Ellipsis, value_range_db: Vector2D = Ellipsis, show_scale: bool = False, scale_side: bool = False, scale_hash_offset: float = 0.0, scale_hash_width: float = 0.0, scale_hash_height: float = 0.0, decibels_per_hash: int = 0, font: SlateFontInfo = Ellipsis)

Bases: AudioMaterialWidgetStyle

Represents the appearance of an Audio Material Meter

C++ Source:

  • Plugin: AudioWidgets

  • Module: AudioWidgets

  • File: AudioMaterialSlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • desired_size (Vector2f): [Read-Write] Desired Draw size of the rendered material

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

  • material (MaterialInterface): [Read-Write] Material used to render the Slate

  • meter_fill_background_color (LinearColor): [Read-Write] The meter’s Background Fill color value.

  • meter_fill_max_color (LinearColor): [Read-Write] The meter’s Fill color value representing the Ending section of the fill.

  • meter_fill_mid_color (LinearColor): [Read-Write] The meter’s Fill color value representing the Middle section of the fill.

  • meter_fill_min_color (LinearColor): [Read-Write] The meter’s Fill color value representing the Starting section of the fill.

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

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

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

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

  • scale_side (bool): [Read-Write] 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] Whether or not to show the decibel scale alongside the meter

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

property decibels_per_hash: int

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

Type:

(int32)

property font: SlateFontInfo

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

Type:

(SlateFontInfo)

property meter_fill_background_color: LinearColor

[Read-Write] The meter’s Background Fill color value.

Type:

(LinearColor)

property meter_fill_max_color: LinearColor

[Read-Write] The meter’s Fill color value representing the Ending section of the fill.

Type:

(LinearColor)

property meter_fill_mid_color: LinearColor

[Read-Write] The meter’s Fill color value representing the Middle section of the fill.

Type:

(LinearColor)

property meter_fill_min_color: LinearColor

[Read-Write] The meter’s Fill color value representing the Starting section of the fill.

Type:

(LinearColor)

property meter_padding: Vector2D

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

Type:

(Vector2D)

property scale_hash_height: float

[Read-Write] The height of each hash mark

Type:

(float)

property scale_hash_offset: float

[Read-Write] Offset for the hashes

Type:

(float)

property scale_hash_width: float

[Read-Write] The width of each hash mark

Type:

(float)

property scale_side: bool

[Read-Write] 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: bool

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

Type:

(bool)

property value_range_db: Vector2D

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

Type:

(Vector2D)