| window | The GameWindow instance this extension method is implicitly called on. |
int QNX system Screen Transparency values.
Get the Transparency value for the specified window on QNX. This is an extension method for GameWindow.
Returns the raw Screen transparency type,The return value is the direct return value of the Screen service system; see the QNX documentation for details.The value may not be equal to the previously set value. This is based on the QNX system design; please refer to the QNX documentation for details.
using UnityEngine; using UnityEngine.Windowing; using UnityEngine.Windowing.QNX;
public class GetTransparencyExample : MonoBehaviour { void Start() { int transparencymode = GameWindow.Main.GetTransparency(); Debug.Log($"MainWindow Transparency is {transparencymode}"); } }