Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EmbeddedLinuxGameWindowCreationSettings

Creates a new EmbeddedLinuxGameWindowCreationSettings with the specified parameters including fullscreen mode.
Read time 1 minuteLast updated 18 days ago

Definition

EmbeddedLinuxGameWindowCreationSettings(string, int, int, Vector2Int, int, DisplayInfo, FullScreenMode, bool, TransparencyMode, uint)

Creates a new EmbeddedLinuxGameWindowCreationSettings with the specified parameters including fullscreen mode.
public EmbeddedLinuxGameWindowCreationSettings(string title, int width, int height, Vector2Int position, int cameraDisplayIndex, DisplayInfo displayInfo, FullScreenMode fullScreenMode = FullScreenMode.Windowed, bool resizable = false, TransparencyMode transparencyMode = TransparencyMode.Default, uint iviSurfaceID = 4294967295)

Parameters

title

The title of the window.

width

The width of the window in pixels.

height

The height of the window in pixels.

position

The position of the window relative to the top-left corner of the display.

cameraDisplayIndex

The display index for the camera to render to.

displayInfo

Information about the display where the window will be created.

fullScreenMode

The fullscreen mode for the window (default is Windowed).

resizable

Whether the window can be resized (default is false).

transparencyMode

The transparency mode for the window (default is Default).

iviSurfaceID

The IVI surface ID for Wayland/IVI Shell integration (default is UInt32.MaxValue for auto-assignment).

EmbeddedLinuxGameWindowCreationSettings(string, int, int, Vector2Int, int, DisplayInfo, TransparencyMode, uint)

Creates a new EmbeddedLinuxGameWindowCreationSettings with the specified parameters in windowed mode.
public EmbeddedLinuxGameWindowCreationSettings(string title, int width, int height, Vector2Int position, int cameraDisplayIndex, DisplayInfo displayInfo, TransparencyMode transparencyMode = TransparencyMode.Default, uint iviSurfaceID = 4294967295)

Parameters

title

The title of the window.

width

The width of the window in pixels.

height

The height of the window in pixels.

position

The position of the window relative to the top-left corner of the display.

cameraDisplayIndex

The display index for the camera to render to.

displayInfo

Information about the display where the window will be created.

transparencyMode

The transparency mode for the window (default is Default).

iviSurfaceID

The IVI surface ID for Wayland/IVI Shell integration (default is UInt32.MaxValue for auto-assignment).