Skip to content

MouseScrollBinding Class

Definition

Namespace: Brine2D.Input

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.

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

Inheritance System.ObjectInputBinding → MouseScrollBinding

Implements System.IEquatable<MouseScrollBinding>