SCNMaterialMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem