Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSVisualEffectViewMBS class.

NSVisualEffectViewMBS.NSBackgroundStyleDark = 1

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the background style constants.

Dark

NSVisualEffectViewMBS.NSBackgroundStyleLight = 0

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the background style constants.

Light

NSVisualEffectViewMBS.NSVisualEffectBlendingModeBehindWindow = 0

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the blending modes.

Blends and blurs with the contents behind the window (such as the desktop or other windows). These can overlap, and the view lower in the hierarchy will "win".

NSVisualEffectViewMBS.NSVisualEffectBlendingModeWithinWindow = 1

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the blending modes.

Blends and blurs with contents behind the view in the current window only. For now, these cannot overlap each other. This mode REQUIRES layer-backing with view.wantsLayer = true.

NSVisualEffectViewMBS.NSVisualEffectMaterialAppearanceBased = 0

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the material constants.

When NSVisualEffectMaterialAppearanceBased is set, the material color is determined by the current effectiveAppearance that is on the view.

NSVisualEffectViewMBS.NSVisualEffectMaterialContentBackground = 18

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of opaque content.
You might use this material as the background for content in a scroll view, table view, or collection view.
This material supports Desktop Tinting in Dark Mode. With Desktop Tinting, the system modifies the material's color dynamically by incorporating some of the color from the underlying desktop image.

NSVisualEffectViewMBS.NSVisualEffectMaterialDark = 2

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the material constants.

Dark

NSVisualEffectViewMBS.NSVisualEffectMaterialFullScreenUI = 15

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of a full-screen modal interface.

NSVisualEffectViewMBS.NSVisualEffectMaterialHeaderView = 10

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for in-line header or footer views.

NSVisualEffectViewMBS.NSVisualEffectMaterialHUDWindow = 13

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of heads-up display (HUD) windows.

NSVisualEffectViewMBS.NSVisualEffectMaterialLight = 1

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the material constants.

Light

NSVisualEffectViewMBS.NSVisualEffectMaterialMenu = 5

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for menus.

NSVisualEffectViewMBS.NSVisualEffectMaterialPopover = 6

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of popover windows.

NSVisualEffectViewMBS.NSVisualEffectMaterialSelection = 4

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material used to indicate a selection.

NSVisualEffectViewMBS.NSVisualEffectMaterialSheet = 11

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of sheet windows.

NSVisualEffectViewMBS.NSVisualEffectMaterialSidebar = 7

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of window sidebars.

NSVisualEffectViewMBS.NSVisualEffectMaterialTitlebar = 3

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
One of the material constants.

The material for a window’s titlebar.

NSVisualEffectViewMBS.NSVisualEffectMaterialToolTip = 17

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of a tool tip.

NSVisualEffectViewMBS.NSVisualEffectMaterialUnderPageBackground = 22

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the area behind the pages of a document.
This material supports Desktop Tinting in Dark Mode. With Desktop Tinting, the system modifies the material's color dynamically by incorporating some of the color from the underlying desktop image.

NSVisualEffectViewMBS.NSVisualEffectMaterialUnderWindowBackground = 21

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material to show under a window's background.
Use this material on a visual effect view with a blendingMode of NSVisualEffectBlendingModeBehindWindow to create a sense of peeking through the back of the window. This effect creates an illusion that the background of the window has peeled away to reveal what’s under it.

NSVisualEffectViewMBS.NSVisualEffectMaterialWindowBackground = 12

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 21.2
One of the material constants.

The material for the background of opaque windows.
This material supports Desktop Tinting in Dark Mode. With Desktop Tinting, the system modifies the material's color dynamically by incorporating some of the color from the underlying desktop image.

NSVisualEffectViewMBS.NSVisualEffectStateActive = 1

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
The state constants.

The backdrop is explicitly active, always.

NSVisualEffectViewMBS.NSVisualEffectStateFollowsWindowActiveState = 0

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
The state constants.

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

NSVisualEffectViewMBS.NSVisualEffectStateInactive = 2

Type Topic Plugin Version
const Cocoa MBS MacFrameworks Plugin 14.3
The state constants.

The backdrop is explicitly inactive.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...