Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EmbeddedLinuxGameWindowCreationSettings

EmbeddedLinux-specific settings for creating game windows.
Read time 2 minutesLast updated 3 days ago

Definition

public class EmbeddedLinuxGameWindowCreationSettings : GameWindowCreationSettings

Remarks

Extends GameWindowCreationSettings with EmbeddedLinux-specific options including transparency mode and IVI (In-Vehicle Infotainment) surface ID support for Wayland/IVI Shell integration.

Examples

using System.Collections.Generic;using UnityEngine;using UnityEngine.Windowing;using UnityEngine.Windowing.EmbeddedLinux;public class EmbeddedLinuxCreateWindowExample : MonoBehaviour{ List<DisplayInfo> displayInfos = new List<DisplayInfo>(); void Start() { DisplayInfo.GetLayout(displayInfos); var settings = new EmbeddedLinuxGameWindowCreationSettings( title: "Second Window", width: 600, height: 400, position: new Vector2Int(0, 0), cameraDisplayIndex: 1, displayInfo: displayInfos[0], fullScreenMode: FullScreenMode.Windowed, resizable: false, transparencyMode: TransparencyMode.Transparent, iviSurfaceID: 1223 ); var op = GameWindowManager.Create(settings); op.completed += (AsyncOperation o) => { Debug.Log($"Window Created: {op.window.GetTitle()}"); }; }}

Constructors

Properties

Property

Description

iviSurfaceIDSets the IVI (In-Vehicle Infotainment) surface ID for Wayland/IVI Shell integration.
transparencyModeSets the transparency mode of the window.

Inheritance