InputAPI reference
Struct RoutedEvent
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
One event of the frame and where it went (Routed).
public readonly struct RoutedEvent : IEquatable<RoutedEvent>Implements
Constructors
RoutedEvent(InputEvent, IInputLayer?)
One event of the frame and where it went (Routed).
public RoutedEvent(InputEvent Event, IInputLayer? Layer)Parameters
Event InputEvent
The event.
Layer IInputLayer?
The input layer that took it (or that took the press it ends), or null when it reached the devices and gameplay.
Properties
Event
The event.
public InputEvent Event { get; init; }Property Value
Layer
The input layer that took it (or that took the press it ends), or null when it reached the devices and gameplay.
public IInputLayer? Layer { get; init; }Property Value
Methods
Deconstruct(out InputEvent, out IInputLayer?)
public void Deconstruct(out InputEvent Event, out IInputLayer? Layer)Parameters
Event InputEvent
Layer IInputLayer?
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(RoutedEvent)
public bool Equals(RoutedEvent other)Parameters
other RoutedEvent
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(RoutedEvent, RoutedEvent)
public static bool operator ==(RoutedEvent left, RoutedEvent right)Parameters
left RoutedEvent
right RoutedEvent
Returns
operator !=(RoutedEvent, RoutedEvent)
public static bool operator !=(RoutedEvent left, RoutedEvent right)Parameters
left RoutedEvent
right RoutedEvent