<!--
{
  "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/SCNMaterialProperty/contentsTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNMaterialProperty(py)contentsTransform"
  },
  "title" : "contentsTransform"
}
-->

# contentsTransform

The transformation applied to the material property’s visual contents. Animatable.

```
var contentsTransform: SCNMatrix4 { get set }
```

## Discussion

SceneKit applies this transformation to the texture coordinates provided by the geometry object the material is attached to, then uses the resulting coordinates to map the material property’s [`contents`](/documentation/SceneKit/SCNMaterialProperty/contents) across the surface of the material. (This transformation has no effect if the material property’s [`contents`](/documentation/SceneKit/SCNMaterialProperty/contents) object is a constant color.)

For example, you can use this property to grow, offset, or rotate a texture relative to the surface of a material, as illustrated below.

![](images/com.apple.scenekit/media-2929785@2x.png)

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)