Enum DisplayServer.Feature
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.Feature : long
Fields
Clipboard = 5Display server supports setting and getting clipboard data. See also ClipboardPrimary. Windows, macOS, Linux (X11/Wayland), Android, iOS, Web
ClipboardPrimary = 18Display server supports Primary clipboard can be used. This is a different clipboard from Clipboard. Linux (X11/Wayland)
CursorShape = 7Display server supports setting the mouse cursor shape to be different from the default. Windows, macOS, Linux (X11/Wayland), Android, Web
CustomCursorShape = 8Display server supports setting the mouse cursor shape to a custom image. Windows, macOS, Linux (X11/Wayland), Web
EmojiAndSymbolPicker = 31Display server supports system emoji and symbol picker. Windows, macOS
ExtendToTitle = 20Display server supports expanding window content to the title. See ExtendToTitle. macOS
[Obsolete("Use 'NativeMenu' or 'PopupMenu' instead.")] GlobalMenu = 0Display server supports global menu. This allows the application to display its menu items in the operating system's top bar. macOS
Hidpi = 12Display 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, Linux (Wayland), macOS
Icon = 13Display server supports changing the window icon (usually displayed in the top-left corner). Windows, macOS, Linux (X11)
Ime = 10Display 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)
Mouse = 3Display server supports mouse input. Windows, macOS, Linux (X11/Wayland), Android, Web
MouseWarp = 4Display 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/Wayland)
NativeDialog = 9Display server supports spawning text dialogs using the operating system's native look-and-feel. See DialogShow(string, string, string[], Callable). Windows, macOS
NativeDialogFile = 25Display server supports spawning dialogs for selecting files or directories using the operating system's native look-and-feel. See FileDialogShow(string, string, string, bool, FileDialogMode, string[], Callable). Windows, macOS, Linux (X11/Wayland), Android
NativeDialogFileExtra = 26The display server supports all features of NativeDialogFile, with the added functionality of Options and native dialog file access to
res://anduser://paths. See FileDialogShow(string, string, string, bool, FileDialogMode, string[], Callable) and FileDialogWithOptionsShow(string, string, string, string, bool, FileDialogMode, string[], Array<Dictionary>, Callable). Windows, macOS, Linux (X11/Wayland)NativeDialogFileMime = 30Native file selection dialog supports MIME types as filters.
NativeDialogInput = 24Display server supports spawning text input dialogs using the operating system's native look-and-feel. See DialogInputText(string, string, string, Callable). Windows, macOS
NativeHelp = 23Display server supports native help system search callbacks. See HelpSetSearchCallbacks(Callable, Callable).
NativeIcon = 14Display server supports changing the window icon (usually displayed in the top-left corner). Windows, macOS
Orientation = 15Display server supports changing the screen orientation. Android, iOS
ScreenCapture = 21Display server supports reading screen pixels. See ScreenGetPixel(Vector2I).
ScreenExcludeFromCapture = 28Display server supports ExcludeFromCapture window flag.
StatusIndicator = 22Display server supports application status indicators.
Subwindows = 1Display server supports multiple windows that can be moved outside of the main window. Windows, macOS, Linux (X11)
SwapBuffers = 16Display 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/Wayland)
TextToSpeech = 19Display server supports text-to-speech. See
tts_*methods. Windows, macOS, Linux (X11/Wayland), Android, iOS, WebTouchscreen = 2Display server supports touchscreen input. Windows, Linux (X11), Android, iOS, Web
VirtualKeyboard = 6Display server supports popping up a virtual keyboard when requested to input text without a physical keyboard. Android, iOS, Web
WindowDrag = 27The display server supports initiating window drag and resize operations on demand. See WindowStartDrag(int) and WindowStartResize(WindowResizeEdge, int).
WindowEmbedding = 29Display server supports embedding a window from another process. Windows, Linux (X11)
WindowTransparency = 11Display server supports windows can use per-pixel transparency to make windows behind them partially or fully visible. Windows, macOS, Linux (X11/Wayland)