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.
public sealed class DefaultTouchSkin : ITouchSkinInheritance
Implements
Constructors
DefaultTouchSkin()
public DefaultTouchSkin()Properties
Instance
The shared instance.
public static DefaultTouchSkin Instance { get; }Property Value
Methods
Draw(IOverlayCanvas, in TouchControlView)
public void Draw(IOverlayCanvas canvas, in TouchControlView v)Parameters
canvas IOverlayCanvas