touchpad
inline fun <S> KWidget<S>.touchpad(deadzone: Float, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: Touchpad.(S) -> Unit = {}): Touchpad
Return
a Touchpad instance added to this group.
Parameters
deadzone
the distance from the center of the touchpad required for the knob to be moved.
style
name of the widget style. Defaults to defaultStyle.
skin
Skin instance that contains the widget style. Defaults to Scene2DSkin.defaultSkin.
init
will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.