<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/CoordinateSpace3DFloat/transformSpace(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:7Spatial22CoordinateSpace3DFloatPAAE14transformSpaceyQrSo022SPProjectiveTransform3D0axcF"
  },
  "title" : "transformSpace(_:)"
}
-->

# transformSpace(_:)

Returns a modified version of the coordinate space.

```
func transformSpace(_ baseFromMapTransform: @escaping (Self) -> ProjectiveTransform3DFloat) -> some CoordinateSpace3DFloat
```

## Parameters

`baseFromMapTransform`

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)