InputSourceFactory Class
Namespace: Stride.InputAssembly: 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 |
|
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. |