unreal.AudioMeterStyle¶
- class unreal.AudioMeterStyle(meter_value_image: SlateBrush = Ellipsis, background_image: SlateBrush = Ellipsis, meter_background_image: SlateBrush = Ellipsis, meter_value_background_image: SlateBrush = Ellipsis, meter_peak_image: SlateBrush = Ellipsis, meter_size: Vector2D = Ellipsis, meter_padding: Vector2D = Ellipsis, meter_value_padding: float = 0.0, peak_value_width: float = 0.0, 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:
AudioMeterWidgetStyleRepresents 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] Image to use to represent the background.decibels_per_hash(int32): [Read-Write] How wide to draw the decibel scale, if it’s enabledfont(SlateFontInfo): [Read-Write] Font family and size to be used when displaying the meter scale.meter_background_image(SlateBrush): [Read-Write] Image to use to represent the meter background.meter_padding(Vector2D): [Read-Write] How much padding to add around the metermeter_peak_image(SlateBrush): [Read-Write] Image to use to represent the meter peak.meter_size(Vector2D): [Read-Write] How thick to draw the metermeter_value_background_image(SlateBrush): [Read-Write] Image to use to draw behind the meter value.meter_value_image(SlateBrush): [Read-Write] Image to use to represent the meter value.meter_value_padding(float): [Read-Write] How much padding to add around the meter valuepeak_value_width(float): [Read-Write] How wide to draw the peak value indicatorscale_hash_height(float): [Read-Write] The height of each hash markscale_hash_offset(float): [Read-Write] Offset for the hashesscale_hash_width(float): [Read-Write] The width of each hash markscale_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 metervalue_range_db(Vector2D): [Read-Write] The minimum and maximum value to display in dB (values are clamped in this range)