Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSVisualEffectViewMBS class.

NSVisualEffectViewMBS.blendingMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
How this backdrop view blurs its contents.

It can either blend with the contents behind the window (NSVisualEffectBlendingModeBehindWindow -- the default), or within the current window (NSVisualEffectBlendingModeWithinWindow). The blending mode for the material NSVisualEffectMaterialTitlebar can only be NSVisualEffectBlendingModeWithinWindow.

The blendingMode NSVisualEffectBlendingModeWithinWindow requires WantsLayer = true to be done on the parent view that you desire to blend with.
(Read and Write property)

NSVisualEffectViewMBS.Emphasized as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 21.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value indicating whether to emphasize the look of the material.

Some materials change their appearance when they are emphasized. For example, the first responder view conveys its status.
The default value of this property is false.

Available in MacOS 10.12 or newer.
(Read and Write property)

NSVisualEffectViewMBS.interiorBackgroundStyle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The interior background style.

Returns "Light" or "Dark" depending on the material selected.
(Read only property)

NSVisualEffectViewMBS.maskImage as NSImageMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The mask image masks this view.

(Read and Write property)

NSVisualEffectViewMBS.material as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The material used.

The default value is NSVisualEffectMaterialAppearanceBased; the material is updated to be the correct material based on the appearance set on this view.
(Read and Write property)

NSVisualEffectViewMBS.state as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacFrameworks Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The current state.

The state defaults to NSVisualEffectStateFollowsWindowActiveState.
(Read and Write property)

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


The biggest plugin in space...