---
title: sublayerTransform
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/calayer/sublayertransform
---

# sublayerTransform

Specifies the transform to apply to sublayers when rendering. Animatable.

## Declaration

```swift
var sublayerTransform: CATransform3D { get set }
```

## Discussion

Discussion You typically use this property to add perspective and other viewing effects to embedded layers. You add perspective by setting the sublayer transform to the desired projection matrix. The default value of this property is the identity transform.

## See Also

### Managing the layer’s transform

- [transform](quartzcore/calayer/transform.md)
- [affineTransform()](quartzcore/calayer/affinetransform().md)
- [setAffineTransform(_:)](quartzcore/calayer/setaffinetransform(_:).md)
