Struct PluginHudInput
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One pointer event delivered to an overlay.
public readonly record struct PluginHudInput : IEquatable<PluginHudInput>
- Implements
- Inherited Members
Constructors
PluginHudInput(PluginHudInputKind, PluginPoint, PluginMouseButton, bool, bool, bool)
One pointer event delivered to an overlay.
public PluginHudInput(PluginHudInputKind Kind, PluginPoint Position, PluginMouseButton Button = PluginMouseButton.None, bool Shift = false, bool Control = false, bool Alt = false)
Parameters
KindPluginHudInputKindWhat the pointer did.
PositionPluginPointWhere the pointer was when it happened.
ButtonPluginMouseButtonThe mouse button involved, or None for a move.
ShiftboolWhether Shift was held.
ControlboolWhether Control was held.
AltboolWhether Alt was held.
Properties
Alt
Whether Alt was held.
public bool Alt { get; init; }
Property Value
Button
The mouse button involved, or None for a move.
public PluginMouseButton Button { get; init; }
Property Value
Control
Whether Control was held.
public bool Control { get; init; }
Property Value
Kind
What the pointer did.
public PluginHudInputKind Kind { get; init; }
Property Value
Position
Where the pointer was when it happened.
public PluginPoint Position { get; init; }
Property Value
Shift
Whether Shift was held.
public bool Shift { get; init; }