Skip to content

InputAPI reference

Class DefaultTouchSkin

Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.Touch.dll
Guide: Input

The built-in look, shaped by TouchStyle. Idle controls are an outlined shape at the style’s opacity; a pressed one is filled, outlined thicker and drawn slightly smaller (pressed in), so the press reads by shape as well as colour, even at low opacity. A dark halo keeps outlines legible on light scenes. A d-pad lights the arrows it presses and marks where the thumb is; a joystick shows its base, its dead zone, the knob at the thumb’s deflection and an arrow on the rim whose opacity follows the intensity. Images replace fills and outlines.

C#
public sealed class DefaultTouchSkin : ITouchSkin

Inheritance

object ← DefaultTouchSkin

Implements

ITouchSkin

Constructors

DefaultTouchSkin()

C#
public DefaultTouchSkin()

Properties

Instance

The shared instance.

C#
public static DefaultTouchSkin Instance { get; }

Property Value

DefaultTouchSkin

Methods

Draw(IOverlayCanvas, in TouchControlView)

C#
public void Draw(IOverlayCanvas canvas, in TouchControlView v)

Parameters

canvas IOverlayCanvas

v TouchControlView