Table of Contents

Class InputSourceFactory

Namespace
Stride.Input
Assembly
Stride.Input.dll

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

public static class InputSourceFactory
Inheritance
InputSourceFactory

Methods

NewWindowInputSource(GameContext)

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

public static IInputSource NewWindowInputSource(GameContext context)

Parameters

context GameContext

The context containing the platform specific window.

Returns

IInputSource

An input source for the window.