# GameWindowCreationSettings

> Settings used to configure the properties of a new game window.

## Definition

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

```csharp
public class GameWindowCreationSettings
```

## Remarks

This class contains configuration parameters for creating a new window using [GameWindowManager.Create](/engine/6000.7/script-reference/unityengine/windowing/gamewindowmanager/create.md). You can specify window attributes such as title, dimensions, position, display target, and fullscreen mode. This API is currently available only in EmbeddedLinux and QNX platforms.

## Examples

```csharp
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Windowing;

public class CreateWindowExample : MonoBehaviour
{
    List<DisplayInfo> displayInfos = new List<DisplayInfo>();

    void Start()
    {
        DisplayInfo.GetLayout(displayInfos);

        var settings = new GameWindowCreationSettings(
            title: "Second Window",
            width: 600, 
            height: 400,
            position: new Vector2Int(0, 0),
            cameraDisplayIndex: 1,
            displayInfo: displayInfos[0],
            fullScreenMode: FullScreenMode.Windowed,
            resizable: false
        );

        var op = GameWindowManager.Create(settings);

        op.completed += (AsyncOperation o) => { 
            Debug.Log($"Window Created: {op.window.GetTitle()}");
        };
    }
}
```

## Properties

| Property                                                                                                                     | Description                                                                |
| ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [cameraDisplayIndex](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/cameradisplayindex.md) | The display index that the camera should render to.                        |
| [displayInfo](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/displayinfo.md)               | Information about the display where the window will be created.            |
| [fullScreenMode](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/fullscreenmode.md)         | The fullscreen mode for the window.                                        |
| [height](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/height.md)                         | The height of the window in pixels.                                        |
| [position](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/position.md)                     | The position of the window relative to the top-left corner of the display. |
| [resizable](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/resizable.md)                   | Determines whether the window can be resized by the user.                  |
| [title](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/title.md)                           | The title text displayed in the window's title bar.                        |
| [visible](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/visible.md)                       | Determines whether the window is visible to the user.                      |
| [width](/engine/6000.7/script-reference/unityengine/windowing/gamewindowcreationsettings/width.md)                           | The width of the window in pixels.                                         |
