---
title: transform
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/drawable/view/transform
---

# transform

The transformation matrix that converts between the device’s coordinate space to the position of the view in that space.

## Declaration

```swift
var transform: simd_float4x4 { get }
```

## Discussion

Discussion When you generate a frame, you specify a pose matrix that indicates the device’s position and orientation in the world coordinate space. When the device is a head-mounted display, the view for each eye has an additional matrix to specify the position of that eye relative to the device’s pose. Multiply the device’s pose matrix by the returned matrix to obtain the view’s location in the world coordinate space.

## See Also

### Getting the transformations

- [tangents](compositorservices/layerrenderer/drawable/view/tangents.md)
