Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ButtonEvent Class

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

    Event for a button changing state on a device

    System.Object → InputEvent → ButtonEvent
    Derived from ButtonEvent: GameControllerButtonEvent GamePadButtonEvent KeyEvent MouseButtonEvent

    public abstract class ButtonEvent : InputEvent, IInputEventArgs
    Name Description
    Fields
    IsDown

    The new state of the button

    | Improve this Doc View Source

    Fields


    IsDown

    The new state of the button

    public bool IsDown
    Field Value
    Type Description
    System.Boolean

    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