Class IOSMouseDispatcher
Mac OS keyboard dispatcher.
Inherited Members
Namespace: Evergine.iOS
Assembly: Evergine.iOS.dll
Syntax
public class IOSMouseDispatcher : MouseDispatcher
Constructors
IOSMouseDispatcher(EvergineViewController)
Initializes a new instance of the IOSMouseDispatcher class.
Declaration
public IOSMouseDispatcher(EvergineViewController viewController)
Parameters
Type | Name | Description |
---|---|---|
EvergineViewController | viewController | The evergine view controller. |
Properties
CursorType
Gets the active cursor type. It can be changed by calling the method TrySetCursorType(CursorTypes).
Declaration
public override CursorTypes CursorType { get; }
Property Value
Type | Description |
---|---|
CursorTypes |
Overrides
Methods
NativeSetCursorPosition(Point)
Sets the cursor position natively.
Declaration
protected override bool NativeSetCursorPosition(Point position)
Parameters
Type | Name | Description |
---|---|---|
Point | position | The new position. |
Returns
Type | Description |
---|---|
bool | True if the operation was successful; false otherwise. |
Overrides
TrySetCursorType(CursorTypes)
Tries to change the mouse cursor type.
Declaration
public override bool TrySetCursorType(CursorTypes cursorType)
Parameters
Type | Name | Description |
---|---|---|
CursorTypes | cursorType | The new cursor type. |
Returns
Type | Description |
---|---|
bool |
|