# GameWindowExtensions

> Provides extension methods for GameWindow specific to QNX platforms.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Windowing.QNX](/engine/6000.7/script-reference/unityengine/windowing/qnx.md)
* **Assembly:** UnityEngine.QNXWindowingModule

```csharp
public static class GameWindowExtensions
```

## Remarks

Use the methods in this class to configure QNX-specific window properties such as z-order, window class, pipeline ID, and alpha blending mode on an existing [GameWindow](/engine/6000.7/script-reference/unityengine/windowing/gamewindow.md) instance. Each method is asynchronous and returns an `AsyncOperation`.

## Examples

```csharp
using UnityEngine;
using UnityEngine.Windowing;
using UnityEngine.Windowing.QNX;

public class QNXWindowExtensionsExample : MonoBehaviour
{
    void Start()
    {
        GameWindow window = GameWindow.Main;

        // Set the alpha mode to the main game window using the extension method
        AsyncOperation op1 = window.SetAlphaMode(AlphaMode.PreMultipliedAlpha);
        op1.completed += _ => {
            Debug.Log($"Alpha mode updated for {window.GetTitle()}");
        };

        // Set the z-order for the main game window using the extension method
        AsyncOperation op2 = window.SetZOrder(10);
        op2.completed += _ => {
            Debug.Log($"Z-order set for {window.GetTitle()}");
        };
    }
}
```

## Static Methods

| Method                                                                                                             | Description                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SetAlphaMode](/engine/6000.7/script-reference/unityengine/windowing/qnx/gamewindowextensions/setalphamode.md)     | Sets the alpha blending mode for the specified window on QNX. This is an extension method for [GameWindow](/engine/6000.7/script-reference/unityengine/windowing/gamewindow.md). |
| [SetPipelineId](/engine/6000.7/script-reference/unityengine/windowing/qnx/gamewindowextensions/setpipelineid.md)   | Sets the QNX Screen pipeline ID for the specified window. This is an extension method for [GameWindow](/engine/6000.7/script-reference/unityengine/windowing/gamewindow.md).     |
| [SetWindowClass](/engine/6000.7/script-reference/unityengine/windowing/qnx/gamewindowextensions/setwindowclass.md) | Sets the QNX Screen window class for the specified window.                                                                                                                       |
| [SetZOrder](/engine/6000.7/script-reference/unityengine/windowing/qnx/gamewindowextensions/setzorder.md)           | Sets the z-order for the specified window on QNX. This is an extension method for [GameWindow](/engine/6000.7/script-reference/unityengine/windowing/gamewindow.md).             |
