Ctrl+K

PointingDevice

Declaration

public class Strawberry.Web.Input.PointingDevice

Implements: Strawberry.Input.IPointingDevice

Constructors

PointingDevice

void PointingDevice()

Properties

PressedButtons

PointerButtons[] PressedButtons { get }

DownButtons

PointerButtons[] DownButtons { get }

ReleasedButtons

PointerButtons[] ReleasedButtons { get }

Methods

FirePressed

void FirePressed(int index, PointerButtons button)

Parameters:

Name Type Description
index System.Int32
button Strawberry.Input.PointerButtons

FireReleased

void FireReleased(int index, PointerButtons button)

Parameters:

Name Type Description
index System.Int32
button Strawberry.Input.PointerButtons

GetPosition

Vector2 GetPosition(int index)

Parameters:

Name Type Description
index System.Int32

IsButtonDown

bool IsButtonDown(int index, PointerButtons button)

Parameters:

Name Type Description
index System.Int32
button Strawberry.Input.PointerButtons

IsButtonPressed

bool IsButtonPressed(int index, PointerButtons button)

Parameters:

Name Type Description
index System.Int32
button Strawberry.Input.PointerButtons

IsButtonReleased

bool IsButtonReleased(int index, PointerButtons button)

Parameters:

Name Type Description
index System.Int32
button Strawberry.Input.PointerButtons

Update

void Update()