Add documentation for negative values of ParallaxAmount

This commit is contained in:
Dean Herbert 2018-06-21 12:49:07 +09:00
parent df0083e3d9
commit 74f732038f
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ public class ParallaxContainer : Container, IRequireHighFrequencyMousePosition
{ {
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;