InputAPI reference
Class InputLayers
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
The input layers in routing order: highest order first, layers of equal order in the order they were added.
Events no layer takes become the polled state actions read (InputDevices) and the frame’s
Events.
public sealed class InputLayersInheritance
Constructors
InputLayers()
public InputLayers()Properties
Count
The number of layers.
public int Count { get; }Property Value
InOrder
The layers, in the order events reach them.
public IReadOnlyList<IInputLayer> InOrder { get; }Property Value
Methods
Add(IInputLayer, int)
Adds layer at order (see InputLayerOrder); adding it again moves it.
public void Add(IInputLayer layer, int order = 100)Parameters
layer IInputLayer
order int
Exceptions
layer is null.
Contains(IInputLayer)
Whether layer was added.
public bool Contains(IInputLayer layer)Parameters
layer IInputLayer
Returns
Remove(IInputLayer)
Removes layer; false when it was not added.
public bool Remove(IInputLayer layer)Parameters
layer IInputLayer