MonoGdx.Scene2D.UI.Slider.OnTouchDrag C# (CSharp) Method

OnTouchDrag() protected method

protected OnTouchDrag ( TouchEventArgs e ) : void
e TouchEventArgs
return void
        protected override void OnTouchDrag(TouchEventArgs e)
        {
            base.OnTouchDrag(e);

            Vector2 position = e.GetPosition(this);
            CalculatePositionAndValue(position.X, position.Y);
        }