---
title: contentsTransform
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnmaterialproperty/contentstransform
---

# contentsTransform

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

## Declaration

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

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

## Discussion

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 across the surface of the material. (This transformation has no effect if the material property’s 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.

You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Configuring Texture Mapping Attributes

- [wrapS](scenekit/scnmaterialproperty/wraps.md)
- [wrapT](scenekit/scnmaterialproperty/wrapt.md)
- [SCNWrapMode](scenekit/scnwrapmode.md)
- [minificationFilter](scenekit/scnmaterialproperty/minificationfilter.md)
- [magnificationFilter](scenekit/scnmaterialproperty/magnificationfilter.md)
- [mipFilter](scenekit/scnmaterialproperty/mipfilter.md)
- [SCNFilterMode](scenekit/scnfiltermode.md)
- [maxAnisotropy](scenekit/scnmaterialproperty/maxanisotropy.md)
- [mappingChannel](scenekit/scnmaterialproperty/mappingchannel.md)
- [borderColor](scenekit/scnmaterialproperty/bordercolor.md)
