setWindowOpacity

WindowModuleInterface::setWindowOpacity

Sets the window’s opacity.

Declaration

virtual void setWindowOpacity(WindowID windowID, float opacity) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to change the opacity of.

opacity

float

The window’s opacity, between 0.0 (transparent) and 1.0 (opaque).

Returns

None.