Skip to content
Version 2.35.0
↓ Get the launcher

WindowSpec.ContentOpacity property

fw 2.33.0+: a poll-diffed opacity (0..1, clamped) for the window’s whole CONTENT — every text, icon, bar and element the plugin built, faded together via one CanvasGroup per top-level content child. The window’s background is NOT faded: the BackgroundColor / BackgroundOpacity backdrop, the GlassMenu frame (FrameOpacity) and a top-level BackdropElement keep their own opacity, so a “background” and a “foreground” slider stay independent. Input is unaffected (the groups keep blocksRaycasts/interactable on), even at 0. The alpha is assigned only when the value changes (a change re-meshes the content once, so don’t animate it per frame). Return a cached delegate that allocates nothing; a throw counts as 1. Null (default) = no CanvasGroups are added, exactly as before.

public Func<float>? ContentOpacity { get; set; }