<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNMaterial/transparency",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNMaterial(py)transparency"
  },
  "title" : "transparency"
}
-->

# transparency

The uniform transparency of the material. Animatable.

```
var transparency: CGFloat { get set }
```

## Discussion

SceneKit determines the total opacity of each rendered pixel in a surface by multiplying the color from the material’s [`transparent`](/documentation/SceneKit/SCNMaterial/transparent) property by the value of this property. Then, the material’s [`transparencyMode`](/documentation/SceneKit/SCNMaterial/transparencyMode) property determines how pixels from the material are blended into the scene.

You can also uniformly adjust the opacity of all content attached to a node using its [`opacity`](/documentation/SceneKit/SCNNode/opacity) property.

You can animate changes to this property’s value. See [Animating SceneKit Content](/documentation/SceneKit/animating-scenekit-content).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)