toggleMaterialBackground

Updates whether the current WindowContainer's window should use the material background.

When show is true, the regular window material background is used. When false, the material background is removed.

Parameters

show

Whether to enable the WindowContainer material background.