InputBody class
The body of an input event.
public sealed class InputBody
Public Members
name | description |
---|---|
HeldKeys { get; } | The RainwayVirtualKey keys that were held down during this input event. |
Tag { get; } | A tag identifying the type of input. |
AsGamepadReport() | Retrieve the input as a gamepad report. |
AsGamepadRumble() | Retrieve the input as a gamepad rumble. |
AsKeyboardInput() | Retrieve the input as a keyboard input. |
AsLogicalInput() | Retrieve the input as a logical input. |
AsMouseAbsolute() | Retrieve the input as a mouse absolute. |
AsMouseClick() | Retrieve the input as a mouse click. |
AsMouseRelative() | Retrieve the input as a mouse relative. |
AsMouseScroll() | Retrieve the input as a mouse scroll. |
AsPenAbsolute() | Retrieve the input as a pen absolute. |
AsSetClipboardText() | Retrieve the input as a set clipboard text. |
AsTouchesAbsolute() | Retrieve the input as a touches absolute. |
AsViewportResize() | Retrieve the input as a viewport resize. |
class GamepadReport | An input report describing gamepad input. |
class GamepadRumble | An input report describing gamepad rumble. |
class KeyboardInput | An input report describing keyboard input. |
class LogicalInput | An input report describing logical input. |
class MouseAbsolute | An input report describing absolute mouse position input. |
class MouseClick | An input report describing mouse click input. |
class MouseRelative | An input report describing relative mouse position input. |
class MouseScroll | An input report describing mouse scroll input. |
class PenAbsolute | An input report describing absolute positioned pen input. |
class SetClipboardText | An input report describing clipboard text changes. |
class TouchesAbsolute | An input report describing absolute positioned touch input. |
class ViewportResize | An input report describing viewport resize changes. |
See Also
- namespace Rainway.SDK