Constants to specify how the material appearance should reflect window activity state.


enum State : Int


Visual Effect View States

case followsWindowActiveState

The backdrop should automatically appear active when the window is active, and inactive when it is not.

case active

The backdrop should always appear active.

case inactive

The backdrop should always appear inactive.

See Also

Enabling or Disabling the Effect

var state: NSVisualEffectView.State

A value that indicates whether a view has a visual effect applied.