-
Notifications
You must be signed in to change notification settings - Fork 0
InputEventMouseButton
Namespace: Electron2D
Represents a mouse button press, release, or wheel step.
public class Electron2D.InputEventMouseButton : Electron2D.InputEventMouseWheel events use Electron2D.InputEventMouseButton.ButtonIndex values such as
Electron2D.MouseButton.WheelUp and Electron2D.MouseButton.WheelDown,
matching Electron2D's mouse wheel model.
Instances are mutable and are not synchronized; use them from the input dispatch thread that owns the event.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This class is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
ButtonIndex |
Property | Gets or sets the mouse button or wheel constant. |
Canceled |
Property | Gets or sets whether the platform canceled this mouse button event. |
DoubleClick |
Property | Gets or sets whether this event represents a double-click. |
Factor |
Property | Gets or sets the wheel delta or high-precision scroll amount. |
Pressed |
Property | Gets or sets whether the button is pressed. |
Electron2D.InputEventMouseButton() |
Constructor | Initializes a new instance of the InputEventMouseButton type. |
Kind: Property
public Electron2D.MouseButton ButtonIndex { get; set; }Gets or sets the mouse button or wheel constant.
This property follows the validation and lifetime rules of its declaring type.
The current button index value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Kind: Property
public System.Boolean Canceled { get; set; }Gets or sets whether the platform canceled this mouse button event.
This property follows the validation and lifetime rules of its declaring type.
The current canceled value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Kind: Property
public System.Boolean DoubleClick { get; set; }Gets or sets whether this event represents a double-click.
This property follows the validation and lifetime rules of its declaring type.
The current double click value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Kind: Property
public System.Single Factor { get; set; }Gets or sets the wheel delta or high-precision scroll amount.
This property follows the validation and lifetime rules of its declaring type.
The current factor value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Kind: Property
public System.Boolean Pressed { get; set; }Gets or sets whether the button is pressed.
This property follows the validation and lifetime rules of its declaring type.
The current pressed value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Kind: Constructor
public Electron2D.InputEventMouseButton()Initializes a new instance of the InputEventMouseButton type.
The new instance follows the lifetime and validation rules of its declaring type.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventMouseButton
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.