Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QNXGameWindowCreationSettings

QNX-specific settings for creating game windows.
Read time 2 minutesLast updated 9 days ago

Definition

public class QNXGameWindowCreationSettings : GameWindowCreationSettings

Remarks

Extends GameWindowCreationSettings with QNX-specific options including transparency mode, z-order, pipeline ID, alpha blending mode, and window class support for QNX Screen integration.

Examples

using System.Collections.Generic;using UnityEngine;using UnityEngine.Windowing;using UnityEngine.Windowing.QNX;public class QNXCreateWindowExample : MonoBehaviour{ List<DisplayInfo> displayInfos = new List<DisplayInfo>(); void Start() { DisplayInfo.GetLayout(displayInfos); QNXGameWindowCreationSettings settings = new QNXGameWindowCreationSettings( 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, zOrder: 1, windowClass: "unity", pipelineId: 0, alphaMode: AlphaMode.PreMultipliedAlpha ); CreateWindowAsyncOperation op = GameWindowManager.Create(settings); op.completed += (AsyncOperation o) => { Debug.Log($"Window Created: {op.window.GetTitle()}"); }; }}

Constructors

Properties

Property

Description

alphaModeThe alpha blending mode for the window.
pipelineIdThe QNX Screen pipeline ID for the window.
transparencyModeThe transparency mode of the window.
windowClassThe QNX Screen window class string for the window.
zOrderThe z-order of the window.

Inheritance