Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GameControllerAxisEvent Class

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

    An event to describe a change in a game controller axis state

    System.Object → InputEvent → AxisEvent → GameControllerAxisEvent
    Derived from GameControllerAxisEvent:

    public class GameControllerAxisEvent : AxisEvent, IInputEventArgs
    Name Description
    Fields
    Index

    Index of the axis

    Properties
    GameController

    The game controller that sent this event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    Index

    Index of the axis

    public int Index
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Properties


    GameController

    The game controller that sent this event

    public IGameControllerDevice GameController { get; }
    Property Value
    Type Description
    IGameControllerDevice
    | Improve this Doc View Source

    Methods


    ToString()

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

    Inherited Members

    AxisEvent.Value
    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