Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GameControllerDirectionEvent Class

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

    An event to describe a change in game controller direction state

    System.Object → InputEvent → GameControllerDirectionEvent
    Derived from GameControllerDirectionEvent:

    public class GameControllerDirectionEvent : InputEvent, IInputEventArgs
    Name Description
    Fields
    Direction

    The new direction

    Index

    The index of the direction controller

    Properties
    GameController

    The gamepad that sent this event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    Direction

    The new direction

    public Direction Direction
    Field Value
    Type Description
    Direction

    Index

    The index of the direction controller

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

    Properties


    GameController

    The gamepad 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

    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