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:
AudioMaterialWidgetStyleRepresents 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 enableddesired_size(Vector2f): [Read-Write] Desired Draw size of the rendered materialfont(SlateFontInfo): [Read-Write] Font family and size to be used when displaying the meter scale.material(MaterialInterface): [Read-Write] Material used to render the Slatemeter_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 meterscale_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)
- 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:
- property meter_fill_background_color: LinearColor¶
[Read-Write] The meter’s Background Fill color value.
- Type:
- property meter_fill_max_color: LinearColor¶
[Read-Write] The meter’s Fill color value representing the Ending section of the fill.
- Type:
- property meter_fill_mid_color: LinearColor¶
[Read-Write] The meter’s Fill color value representing the Middle section of the fill.
- Type:
- property meter_fill_min_color: LinearColor¶
[Read-Write] The meter’s Fill color value representing the Starting section of the fill.
- Type:
- property meter_padding: Vector2D¶
[Read-Write] How much padding to add around the meter
- Type:
(Vector2D)
- 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)