Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
textToSpeech
Display server supports text-to-speech. See tts_*
methods. Windows, macOS, Linux (X11), Android, iOS, Web
case textToSpeech
Other cases
case globalMenu
Display server supports global menu. This allows the application to display its menu items in the operating system’s top bar. macOS
case subwindows
Display server supports multiple windows that can be moved outside of the main window. Windows, macOS, Linux (X11)
case touchscreen
Display server supports touchscreen input. Windows, Linux (X11), Android, iOS, Web
case mouse
Display server supports mouse input. Windows, macOS, Linux (X11), Android, Web
case mouseWarp
Display server supports warping mouse coordinates to keep the mouse cursor constrained within an area, but looping when one of the edges is reached. Windows, macOS, Linux (X11)
case clipboard
Display server supports setting and getting clipboard data. See also .clipboardPrimary. Windows, macOS, Linux (X11), Android, iOS, Web
case virtualKeyboard
Display server supports popping up a virtual keyboard when requested to input text without a physical keyboard. Android, iOS, Web
case cursorShape
Display server supports setting the mouse cursor shape to be different from the default. Windows, macOS, Linux (X11), Android, Web
case customCursorShape
Display server supports setting the mouse cursor shape to a custom image. Windows, macOS, Linux (X11), Web
case nativeDialog
Display server supports spawning dialogs using the operating system’s native look-and-feel. macOS
case ime
Display server supports Input Method Editor, which is commonly used for inputting Chinese/Japanese/Korean text. This is handled by the operating system, rather than by Godot. Windows, macOS, Linux (X11)
case windowTransparency
Display server supports windows can use per-pixel transparency to make windows behind them partially or fully visible. Windows, macOS, Linux (X11)
case hidpi
Display server supports querying the operating system’s display scale factor. This allows for reliable automatic hiDPI display detection, as opposed to guessing based on the screen resolution and reported display DPI (which can be unreliable due to broken monitor EDID). Windows, macOS
case icon
Display server supports changing the window icon (usually displayed in the top-left corner). Windows, macOS, Linux (X11)
case nativeIcon
Display server supports changing the window icon (usually displayed in the top-left corner). Windows, macOS
case orientation
Display server supports changing the screen orientation. Android, iOS
case swapBuffers
Display server supports V-Sync status can be changed from the default (which is forced to be enabled platforms not supporting this feature). Windows, macOS, Linux (X11)
case clipboardPrimary
Display server supports Primary clipboard can be used. This is a different clipboard from .clipboard. Linux (X11)
case extendToTitle
Display server supports expanding window content to the title. See .windowFlagExtendToTitle. macOS
case screenCapture
Display server supports reading screen pixels. See
screenGetPixel(position:)
.