pub struct DifficultySection {
pub hp_drain_rate: f32,
pub circle_size: f32,
pub overall_difficulty: f32,
pub approach_rate: f32,
pub slider_multiplier: f32,
pub slider_tick_rate: f32,
}
Difficulty modifiers for the beatmap
Defines the size of the hit objects in the osu!standard mode.
The radius in osu!pixels is defined by the formula
32 * (1 - 0.7 * (CircleSize - 5) / 5)
, alternatively written as
54.4 - 4.48 * CircleSize
.
The value of CircleSize for ranked beatmaps must stand at from 2 to 7,
inclusive.
In osu!mania mode, CircleSize is the number of columns.
Is the harshness of the hit window and the difficulty of spinners.
Defines when hit objects start to fade in relatively to when they
should be hit.
Specifies the multiplier of the slider velocity. The velocity at slider
multiplier = 1 is 100 osu!pixels per beat. A slider multiplier of 2
would yield a velocity of 200 osu!pixels per beat. The default slider
multiplier is 1.4 when the property is omitted.
The number of ticks per beat. The default value is 1 tick per beat.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more