getWindowOpacity
Script::getWindowOpacity
Returns the window’s opacity.
Declaration
float getWindowOpacity(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);
Parameters
Name |
Type |
Description |
---|---|---|
windowID |
The window to get the opacity of. |
Returns
The window’s opacity, between 0.0
(transparent) and 1.0
(opaque).
Notes
The main window will be used if windowID
is equal to NTSHENGN_WINDOW_UNKNOWN
.