InputEventMouseButton

Input event type for mouse button events.

Contains mouse click information. See Node._input.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getButtonIndex
long getButtonIndex()
getFactor
double getFactor()
isDoubleclick
bool isDoubleclick()
opAssign
InputEventMouseButton opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(InputEventMouseButton other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setButtonIndex
void setButtonIndex(long button_index)
setDoubleclick
void setDoubleclick(bool doubleclick)
setFactor
void setFactor(double factor)
setPressed
void setPressed(bool pressed)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

buttonIndex
long buttonIndex [@property getter]
long buttonIndex [@property setter]

Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in @GlobalScope.

doubleclick
bool doubleclick [@property setter]

If true the mouse button's state is a double-click.

doubleclick
bool doubleclick [@property getter]

If true the mouse button's state is a double-click.

factor
double factor [@property getter]
double factor [@property setter]

Magnitude. Amount (or delta) of the event. Used for scroll events, indicates scroll amount (vertically or horizontally). Only supported on some platforms, sensitivity varies by platform. May be 0 if not supported.

pressed
bool pressed [@property getter]
bool pressed [@property setter]

If true the mouse button's state is pressed. If false the mouse button's state is released.

Static functions

_new
InputEventMouseButton _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta