Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNMaterialMBS class.

SCNMaterialMBS.SCNTransparencyModeAOne = 0

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 19.1
One of the constants for the modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

SceneKit derives transparency information from the alpha channel of colors. The value 1.0 is opaque.

SCNMaterialMBS.SCNTransparencyModeDefault = 0

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 19.1
One of the constants for the modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

Default

SCNMaterialMBS.SCNTransparencyModeDualLayer = 3

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 19.1
One of the constants for the modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

Dual layer.

SCNMaterialMBS.SCNTransparencyModeRGBZero = 1

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 19.1
One of the constants for the modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

SceneKit derives transparency information from the luminance of colors. The value 0.0 is opaque.
When using this mode, SceneKit ignores the alpha value of colors in the material’s transparent property. SceneKit calculates the luminance of a color from its red, green, and blue channels and uses the resulting value to determine the material’s opacity.

SCNMaterialMBS.SCNTransparencyModeSingleLayer = 2

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 19.1
One of the constants for the modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

Single layer.

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


The biggest plugin in space...