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 |
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 |
Default
SCNMaterialMBS.SCNTransparencyModeDualLayer = 3
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Dual layer.
SCNMaterialMBS.SCNTransparencyModeRGBZero = 1
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
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 |
Single layer.
The items on this page are in the following plugins: MBS Mac64bit Plugin.