---
title: transform
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexturesampler/transform
---

# transform

The transformation to be applied to texture coordinate data before sampling from the texture.

## Declaration

```swift
var transform: MDLTransform? { get set }
```

## Discussion

Discussion Use this property to translate, scale, or rotate a texture relative to the surfaces it’s rendered on.

## See Also

### Working with Texture Parameters

- [texture](modelio/mdltexturesampler/texture.md)
- [hardwareFilter](modelio/mdltexturesampler/hardwarefilter.md)
