InputEvent

Author

Colton Daily

Constructors

Link copied to clipboard

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
fun handle()
Link copied to clipboard
open override fun reset()
Link copied to clipboard
fun stop()
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
var bubbles: Boolean = true
Link copied to clipboard
var button: Int = 0
Link copied to clipboard
var cancelled: Boolean = false
Link copied to clipboard
var canvasX: Float = 0.0f

The x-coord of the current canvas. This may be equal to sceneX if there are no nested canvases.

Link copied to clipboard
var canvasY: Float = 0.0f

The y-coord of the current canvas. This may be equal to sceneY if there are no nested canvases.

Link copied to clipboard
var capture: Boolean = false
Link copied to clipboard
var char: Char
Link copied to clipboard
var handled: Boolean = false
Link copied to clipboard
var inputType: InputSignal? = null
Link copied to clipboard
var key: Key
Link copied to clipboard
var localX: Float = 0.0f

The x-coord of the current node in its local coordinates. (i.e a value of 0 will be the left edge)

Link copied to clipboard
var localY: Float = 0.0f

The y-coord of the current node in its local coordinates. (i.e a value of 0 will be the top edge)

Link copied to clipboard
Link copied to clipboard
var sceneX: Float = 0.0f

The x-coord of the root scene canvas. Changing this will also set canvasX automatically.

Link copied to clipboard
var sceneY: Float = 0.0f

The y-coord of the root scene canvas. Changing this will also set canvasY automatically.

Link copied to clipboard
var scrollAmountX: Float = 0.0f
Link copied to clipboard
var scrollAmountY: Float = 0.0f
Link copied to clipboard
var stopped: Boolean = false
Link copied to clipboard