---
title: "CATransform3DMakeAffineTransform(_:)"
framework: Core Animation
role: symbol
role_heading: Function
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 13.1+, macOS 10.5+, tvOS 9.0+, visionOS 1.0+]
path: "quartzcore/catransform3dmakeaffinetransform(_:)"
---

# CATransform3DMakeAffineTransform(_:)

Returns a transform with the same effect as affine transform m.

## Declaration

```swift
func CATransform3DMakeAffineTransform(_ m: CGAffineTransform) -> CATransform3D
```

## See Also

### Converting to and from Core Graphics Affine Transforms

- [CATransform3DGetAffineTransform(_:)](quartzcore/catransform3dgetaffinetransform(_:).md)
