Table of Contents

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), Android, iOS, Web

ClipboardPrimary = 18

Display server supports Primary clipboard can be used. This is a different clipboard from Clipboard. Linux (X11)

CursorShape = 7

Display server supports setting the mouse cursor shape to be different from the default. Windows, macOS, Linux (X11), Android, Web

CustomCursorShape = 8

Display server supports setting the mouse cursor shape to a custom image. Windows, macOS, Linux (X11), Web

ExtendToTitle = 20

Display server supports expanding window content to the title. See ExtendToTitle. macOS

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, 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), 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)

NativeDialog = 9

Display server supports spawning dialogs using the operating system's native look-and-feel. Windows, macOS, Linux (X11)

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).

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)

TextToSpeech = 19

Display server supports text-to-speech. See tts_* methods. Windows, macOS, Linux (X11), Android, iOS, Web

Touchscreen = 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

WindowTransparency = 11

Display server supports windows can use per-pixel transparency to make windows behind them partially or fully visible. Windows, macOS, Linux (X11)