InputEventScreenDrag

Input event type for screen drag events. (only available on mobile devices)

Contains screen drag information. See Node._input.

Members

Aliases

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

Functions

getIndex
long getIndex()
getPosition
Vector2 getPosition()
getRelative
Vector2 getRelative()
getSpeed
Vector2 getSpeed()
opAssign
InputEventScreenDrag opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(InputEventScreenDrag 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.
setIndex
void setIndex(long index)
setPosition
void setPosition(Vector2 position)
setRelative
void setRelative(Vector2 relative)
setSpeed
void setSpeed(Vector2 speed)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

index
long index [@property getter]
long index [@property setter]

Drag event index in the case of a multi-drag event.

position
Vector2 position [@property getter]
Vector2 position [@property setter]

Drag position.

relative
Vector2 relative [@property getter]
Vector2 relative [@property setter]

Drag position relative to its start position.

speed
Vector2 speed [@property getter]
Vector2 speed [@property setter]

Drag speed.

Static functions

_new
InputEventScreenDrag _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