InputAPI reference
Class MemoryClipboard
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
A clipboard that only remembers its text: the headless platform’s, and a stand-in where there is no system clipboard.
public sealed class MemoryClipboard : IClipboardInheritance
Implements
Constructors
MemoryClipboard()
public MemoryClipboard()Properties
Text
The text on this clipboard, or null.
public string? Text { get; set; }Property Value
Methods
GetText()
The text on the clipboard; null when it holds no text or cannot be read.
public string? GetText()Returns
SetText(string)
Puts text on the clipboard; returns whether the platform took it.
public bool SetText(string text)Parameters
text string