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