---
title: "transformSpace(_:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/coordinatespace3d/transformspace(_:)"
---

# transformSpace(_:)

Returns a modified version of the coordinate space.

## Declaration

```swift
func transformSpace(_ baseFromMapTransform: @escaping (Self) -> ProjectiveTransform3D) -> some CoordinateSpace3D

```

## Parameters

- `baseFromMapTransform`: A closure which takes in the base coordinate space and returns a transform that represents the modification to that space.
