Skip to content

UISlider.NudgeValue(float) Method

Definition

Namespace: Brine2D.UI

Nudges the slider value by one step \(or 1% of the range when [Step](Step.md 'Brine2D\.UI\.UISlider\.Step') is 0\). Called by UICanvas when the focused slider receives an arrow-key press.

C#
internal void NudgeValue(float direction);

Parameters

direction System.Single