Struct rosu_render::model::RenderOptions
source · pub struct RenderOptions {Show 50 fields
pub resolution: RenderResolution,
pub global_volume: u8,
pub music_volume: u8,
pub hitsound_volume: u8,
pub show_hit_error_meter: bool,
pub show_unstable_rate: bool,
pub show_score: bool,
pub show_hp_bar: bool,
pub show_combo_counter: bool,
pub show_pp_counter: bool,
pub show_scoreboard: bool,
pub show_borders: bool,
pub show_mods: bool,
pub show_result_screen: bool,
pub use_skin_cursor: bool,
pub use_skin_colors: bool,
pub use_skin_hitsounds: bool,
pub use_beatmap_colors: bool,
pub cursor_scale_to_cs: bool,
pub cursor_rainbow: bool,
pub cursor_trail_glow: bool,
pub draw_follow_points: bool,
pub beat_scaling: bool,
pub slider_merge: bool,
pub objects_rainbow: bool,
pub flash_objects: bool,
pub use_slider_hitcircle_color: bool,
pub seizure_warning: bool,
pub load_storyboard: bool,
pub load_video: bool,
pub intro_bg_dim: u8,
pub ingame_bg_dim: u8,
pub break_bg_dim: u8,
pub bg_parallax: bool,
pub show_danser_logo: bool,
pub skip_intro: bool,
pub cursor_ripples: bool,
pub cursor_size: f32,
pub cursor_trail: bool,
pub draw_combo_numbers: bool,
pub slider_snaking_in: bool,
pub slider_snaking_out: bool,
pub show_hit_counter: bool,
pub show_key_overlay: bool,
pub show_avatars_on_scoreboard: bool,
pub show_aim_error_meter: bool,
pub play_nightcore_samples: bool,
pub show_strain_graph: bool,
pub show_slider_breaks: bool,
pub ignore_fail: bool,
}Expand description
Customize danser settings when rendering.
Fields§
§resolution: RenderResolution§global_volume: u8The global volume for the video, in percent, from 0 to 100.
music_volume: u8The music volume for the video, in percent, from 0 to 100.
hitsound_volume: u8The hitsounds volume for the video, in percent, from 0 to 100.
show_hit_error_meter: boolShow the hit error meter.
show_unstable_rate: boolShow the unstable rate, only takes effect if show_hit_error_meter is set to true.
show_score: boolShow the score.
show_hp_bar: boolShow the HP bar.
show_combo_counter: boolShow the combo counter.
show_pp_counter: boolShow the PP Counter or not.
show_scoreboard: boolShow the scoreboard or not.
show_borders: boolShow the playfield borders or not.
show_mods: boolShow the mods used during the game or not.
show_result_screen: boolShow the result screen or not.
use_skin_cursor: boolUse the skin cursor or not. If not, danser cursor will be used.
use_skin_colors: boolUse the skin combo colors or not.
use_skin_hitsounds: boolUse skin hitsounds, if false beatmap hitsounds will be used.
use_beatmap_colors: boolUse the beatmap combo colors or not, overrides useSkinColors if true.
cursor_scale_to_cs: boolScale cursor to circle size. Does not do anything at the moment.
cursor_rainbow: boolMakes the cursor rainbow, only takes effect if use_skin_cursor is set to false.
cursor_trail_glow: boolHave a glow with the trail or not.
draw_follow_points: boolDraw follow points between objects or not.
beat_scaling: boolScale objects to the beat.
slider_merge: boolMerge sliders or not.
objects_rainbow: boolMakes the objects rainbow, overrides use_skin_colors and use_beatmap_colors.
flash_objects: boolMakes the objects flash to the beat.
use_slider_hitcircle_color: boolMakes the slider body have the same color as the hit circles.
seizure_warning: boolDisplay a 5 second seizure warning before the video.
load_storyboard: boolLoad the background storyboard.
load_video: boolLoad the background video (load_storyboard has to be set to true).
intro_bg_dim: u8Background dim for the intro, in percent, from 0 to 100.
ingame_bg_dim: u8Background dim in game, in percent, from 0 to 100.
break_bg_dim: u8Background dim in break, in percent, from 0 to 100.
bg_parallax: boolAdds a parallax effect.
show_danser_logo: boolShow danser logo on the intro.
skip_intro: boolSkip the intro or not.
cursor_ripples: boolShow cursor ripples when keypress.
cursor_size: f32Set the cursor size, multiplier from 0.5 to 2.
cursor_trail: boolShow the cursor trail or not.
draw_combo_numbers: boolShow the combo numbers in objects.
slider_snaking_in: boolHave slider snaking in.
slider_snaking_out: boolHave slider snaking out.
show_hit_counter: boolShows a hit counter (100, 50, miss) below the PP counter.
show_key_overlay: boolShow the key overlay or not.
show_avatars_on_scoreboard: boolShow avatars on the left of the username of a player on the scoreboard. May break some skins because the width of the scoreboard increases.
show_aim_error_meter: boolShow the Aim Error Meter or not.
play_nightcore_samples: boolPlay nightcore hitsounds or not.
show_strain_graph: boolShow the strain graph or not.
show_slider_breaks: boolShow the slider breaks count in the hit counter.
ignore_fail: boolIgnores fail in the replay or not.
Trait Implementations§
source§impl Clone for RenderOptions
impl Clone for RenderOptions
source§fn clone(&self) -> RenderOptions
fn clone(&self) -> RenderOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more