Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MouseButtonEvent Class

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

    Describes a button on a mouse changing state

    System.Object → InputEvent → ButtonEvent → MouseButtonEvent
    Derived from MouseButtonEvent:

    public class MouseButtonEvent : ButtonEvent, IInputEventArgs
    Name Description
    Fields
    Button

    The button that changed state

    Properties
    Mouse

    The mouse that sent this event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    Button

    The button that changed state

    public MouseButton Button
    Field Value
    Type Description
    MouseButton
    | 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

    ButtonEvent.IsDown
    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