MouseScrollBinding Class

Binds the vertical mouse scroll wheel to an analog value. Brine2D.Input.MouseScrollBinding.IsDown(Brine2D.Input.IInputContext) returns true when scroll delta is non-zero this frame. Brine2D.Input.MouseScrollBinding.ReadValue(Brine2D.Input.IInputContext) returns the raw scroll delta for the frame.

public sealed record MouseScrollBinding : Brine2D.Input.InputBinding, System.IEquatable<Brine2D.Input.MouseScrollBinding>

Inheritance System.ObjectInputBinding → MouseScrollBinding

Implements System.IEquatable<MouseScrollBinding>