mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add documentation for negative values of ParallaxAmount
This commit is contained in:
@ -16,6 +16,9 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
public const float DEFAULT_PARALLAX_AMOUNT = 0.02f;
|
public const float DEFAULT_PARALLAX_AMOUNT = 0.02f;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The amount of parallax movement. Negative values will reverse the direction of parallax relative to user input.
|
||||||
|
/// </summary>
|
||||||
public float ParallaxAmount = DEFAULT_PARALLAX_AMOUNT;
|
public float ParallaxAmount = DEFAULT_PARALLAX_AMOUNT;
|
||||||
|
|
||||||
private Bindable<bool> parallaxEnabled;
|
private Bindable<bool> parallaxEnabled;
|
||||||
|
Reference in New Issue
Block a user