MouseDeltaBinding Class
Definition
Namespace: Brine2D.Input
Binds one axis of the mouse delta \(movement\) to an analog value. Use Brine2D.Input.MouseDeltaAxis.X for horizontal and Brine2D.Input.MouseDeltaAxis.Y for vertical. Brine2D.Input.MouseDeltaBinding.ReadValue\(Brine2D\.Input\.IInputContext\) returns the raw delta for that axis this frame.
C#
public sealed record MouseDeltaBinding : Brine2D.Input.InputBinding, System.IEquatable<Brine2D.Input.MouseDeltaBinding>
Inheritance System.Object → InputBinding → MouseDeltaBinding
Implements System.IEquatable<MouseDeltaBinding>
| Constructors | |
|---|---|
| MouseDeltaBinding\(MouseDeltaAxis\) | Binds one axis of the mouse delta \(movement\) to an analog value. Use Brine2D.Input.MouseDeltaAxis.X for horizontal and Brine2D.Input.MouseDeltaAxis.Y for vertical. Brine2D.Input.MouseDeltaBinding.ReadValue\(Brine2D\.Input\.IInputContext\) returns the raw delta for that axis this frame. |