concepts.simulator.pybullet.client.MouseEvent#

class MouseEvent[source]#

Bases: _MouseEvent

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

buttonIndex

Alias for field number 3

buttonState

Alias for field number 4

eventType

Alias for field number 0

mousePosX

Alias for field number 1

mousePosY

Alias for field number 2

__add__(value, /)#

Return self+value.

__getitem__(key, /)#

Return self[key].

__init__()#
__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__mul__(value, /)#

Return self*value.

static __new__(_cls, eventType, mousePosX, mousePosY, buttonIndex, buttonState)#

Create new instance of _MouseEvent(eventType, mousePosX, mousePosY, buttonIndex, buttonState)

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

buttonIndex#

Alias for field number 3

buttonState#

Alias for field number 4

eventType#

Alias for field number 0

mousePosX#

Alias for field number 1

mousePosY#

Alias for field number 2