PointerSimulated Class
Namespace: Stride.Input
Assembly: Stride.Input.dll
Simulation of PointerEvents
Derived from PointerSimulated:
public class PointerSimulated : PointerDeviceBase, IPointerDevice, IInputDevice
|
Improve this Doc
View Source
Constructors
public PointerSimulated(InputSourceSimulated source)
Parameters
|
Improve this Doc
View Source
Properties
public override Guid Id { get; }
Property Value
Type |
Description |
System.Guid |
|
Overrides
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
public PointerDeviceState PointerState { get; }
Property Value
public override IInputSource Source { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Methods
public void CancelPointer(Vector2 position, int id = 0)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
System.Int32 |
id |
|
public void MovePointer(Vector2 position, int id = 0)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
System.Int32 |
id |
|
public void PressPointer(Vector2 position, int id = 0)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
System.Int32 |
id |
|
public void ReleasePointer(Vector2 position, int id = 0)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
System.Int32 |
id |
|
public void SimulatePointer(PointerEventType pointerEventType, Vector2 position, int id = 0)
Parameters
public override void Update(List<InputEvent> inputEvents)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<InputEvent> |
inputEvents |
|
Overrides
Extension Methods