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:
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 enabledfont
(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 metermeter_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 metermeter_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 valuepeak_value_width
(float): [Read-Write] Peak Value Width: How wide to draw the peak value indicatorscale_hash_height
(float): [Read-Write] Scale Hash Height: The height of each hash markscale_hash_offset
(float): [Read-Write] Scale Hash Offset: Offset for the hashesscale_hash_width
(float): [Read-Write] Scale Hash Width: The width of each hash markscale_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 metervalue_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: SlateBrush¶
[Read-Write] Background Image: Image to use to represent the background.
- Type:
- property decibels_per_hash: int¶
[Read-Write] Decibels Per Hash: How wide to draw the decibel scale, if it’s enabled
- Type:
(int32)
- property font: SlateFontInfo¶
[Read-Write] Font: Font family and size to be used when displaying the meter scale.
- Type:
- property meter_background_image: SlateBrush¶
[Read-Write] Meter Background Image: Image to use to represent the meter background.
- Type:
- property meter_padding: Vector2D¶
[Read-Write] Meter Padding: How much padding to add around the meter
- Type:
(Vector2D)
- property meter_peak_image: SlateBrush¶
[Read-Write] Meter Peak Image: Image to use to represent the meter peak.
- Type:
- property meter_size: Vector2D¶
[Read-Write] Meter Size: How thick to draw the meter
- Type:
(Vector2D)
- property meter_value_background_image: SlateBrush¶
[Read-Write] Meter Value Background Image: Image to use to draw behind the meter value.
- Type:
- property meter_value_image: SlateBrush¶
[Read-Write] Meter Value Image: Image to use to represent the meter value.
- Type:
- property meter_value_padding: float¶
[Read-Write] Meter Value Padding: How much padding to add around the meter value
- Type:
(float)
- property peak_value_width: float¶
[Read-Write] Peak Value Width: How wide to draw the peak value indicator
- Type:
(float)
- property scale_hash_height: float¶
[Read-Write] Scale Hash Height: The height of each hash mark
- Type:
(float)
- property scale_hash_offset: float¶
[Read-Write] Scale Hash Offset: Offset for the hashes
- Type:
(float)
- property scale_hash_width: float¶
[Read-Write] Scale Hash Width: The width of each hash mark
- Type:
(float)
- property 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.
- Type:
(bool)