-
Notifications
You must be signed in to change notification settings - Fork 0
InputEventMouseMotion
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.InputEventMouseMotion |
| Namespace | Electron2D |
| Kind | class |
| Category | Input |
Represents a mouse movement event.
public class Electron2D.InputEventMouseMotion : Electron2D.InputEventMouseProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: InputEventMouseMotion
Mouse position, relative motion and button mask baseline.
Platform relative motion fills Electron2D.InputEventMouseMotion.Relative and Electron2D.InputEventMouseMotion.ScreenRelative.
Velocity values remain zero until frame timing is connected to the input pump.
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 |
|---|---|---|
PenInverted |
Property | Gets or sets whether the eraser end of a stylus pen is active. |
Pressure |
Property | Gets or sets the pen pressure from 0.0 to 1.0. |
Relative |
Property | Gets or sets the mouse position relative to the previous mouse position. |
ScreenRelative |
Property | Gets or sets the unscaled mouse position relative to the previous mouse position. |
ScreenVelocity |
Property | Gets or sets the unscaled mouse velocity in pixels per second. |
Tilt |
Property | Gets or sets the pen tilt. |
Velocity |
Property | Gets or sets the mouse velocity in pixels per second. |
Electron2D.InputEventMouseMotion() |
Constructor | Initializes a new instance of the InputEventMouseMotion type. |
Kind: Property
public System.Boolean PenInverted { get; set; }Gets or sets whether the eraser end of a stylus pen is active.
This property follows the validation and lifetime rules of its declaring type.
The current pen inverted 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.InputEventMouseMotion
Kind: Property
public System.Single Pressure { get; set; }Gets or sets the pen pressure from 0.0 to 1.0.
This property follows the validation and lifetime rules of its declaring type.
The current pressure 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.InputEventMouseMotion
Kind: Property
public Electron2D.Vector2 Relative { get; set; }Gets or sets the mouse position relative to the previous mouse position.
This property follows the validation and lifetime rules of its declaring type.
The current relative 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.InputEventMouseMotion
Kind: Property
public Electron2D.Vector2 ScreenRelative { get; set; }Gets or sets the unscaled mouse position relative to the previous mouse position.
This property follows the validation and lifetime rules of its declaring type.
The current screen relative 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.InputEventMouseMotion
Kind: Property
public Electron2D.Vector2 ScreenVelocity { get; set; }Gets or sets the unscaled mouse velocity in pixels per second.
This property follows the validation and lifetime rules of its declaring type.
The current screen velocity 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.InputEventMouseMotion
Kind: Property
public Electron2D.Vector2 Tilt { get; set; }Gets or sets the pen tilt.
This property follows the validation and lifetime rules of its declaring type.
The current tilt 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.InputEventMouseMotion
Kind: Property
public Electron2D.Vector2 Velocity { get; set; }Gets or sets the mouse velocity in pixels per second.
This property follows the validation and lifetime rules of its declaring type.
The current velocity 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.InputEventMouseMotion
Kind: Constructor
public Electron2D.InputEventMouseMotion()Initializes a new instance of the InputEventMouseMotion 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.InputEventMouseMotion
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.