Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    InputSourceFactory Class

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

    Given a GameContext creates the corresponding IInputSource for the platform specific window.

    System.Object → InputSourceFactory
    Derived from InputSourceFactory:

    public static class InputSourceFactory
    Name Description
    Methods
    NewWindowInputSource(GameContext)

    Creates a new input source for the window provided by the context.

    | Improve this Doc View Source

    Methods


    NewWindowInputSource(GameContext)

    Creates a new input source for the window provided by the context.

    public static IInputSource NewWindowInputSource(GameContext context)
    Parameters
    Type Name Description
    GameContext context

    The context containing the platform specific window.

    Returns
    Type Description
    IInputSource

    An input source for the window.


    • Improve this Doc
    • View Source
    In This Article

    Back to top

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