Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    MouseWheelEvent Class

    Namespace: Stride.Input
    Assembly: Stride.Input.dll

    Event for a mouse wheel being used

    System.Object → InputEvent → MouseWheelEvent
    Derived from MouseWheelEvent:

    public class MouseWheelEvent : InputEvent, IInputEventArgs
    Name Description
    Fields
    WheelDelta

    The amount the mouse wheel scrolled

    Properties
    Mouse

    The mouse that sent this event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    WheelDelta

    The amount the mouse wheel scrolled

    public float WheelDelta
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Properties


    Mouse

    The mouse that sent this event

    public IMouseDevice Mouse { get; }
    Property Value
    Type Description
    IMouseDevice
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Inherited Members

    InputEvent.Device

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation