mirror of https://github.com/ppy/osu
Add documentation for negative values of ParallaxAmount
This commit is contained in:
parent
df0083e3d9
commit
74f732038f
|
@ -16,6 +16,9 @@ public class ParallaxContainer : Container, IRequireHighFrequencyMousePosition
|
|||
{
|
||||
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;
|
||||
|
||||
private Bindable<bool> parallaxEnabled;
|
||||
|
|
Loading…
Reference in New Issue