---
title: SCNTransparencyMode.rgbZero
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scntransparencymode/rgbzero
---

# SCNTransparencyMode.rgbZero

SceneKit derives transparency information from the luminance of colors. The value 0.0 is opaque.

## Declaration

```swift
case rgbZero
```

## Discussion

Discussion 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.

## See Also

### Constants

- [SCNTransparencyMode.aOne](scenekit/scntransparencymode/aone.md)
