Class PointerPoint
Class containing the pointer information.
Namespace: Evergine.Common.Input.Pointer
Assembly: Evergine.Common.dll
Syntax
public class PointerPoint
Constructors
PointerPoint(long, Point, ButtonStateTracker<long>)
Initializes a new instance of the PointerPoint class.
Declaration
public PointerPoint(long id, Point position, ButtonStateTracker<long> stateTracker)
Parameters
| Type | Name | Description |
|---|---|---|
| long | id | The pointer ID. |
| Point | position | The pointer position. |
| ButtonStateTracker<long> | stateTracker | The state tracker. |
Properties
Id
Gets the pointer ID.
Declaration
public long Id { get; }
Property Value
| Type | Description |
|---|---|
| long |
Position
Gets the pointer position.
Declaration
public Point Position { get; }
Property Value
| Type | Description |
|---|---|
| Point |
State
Gets the pointer state.
Declaration
public ButtonState State { get; }
Property Value
| Type | Description |
|---|---|
| ButtonState |