---
title: "convert(value:from:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/coordinatespace3d/convert(value:from:)-3zi9f"
---

# convert(value:from:)

Converts a value from a source coordinate space to this one.

## Declaration

```swift
func convert<T>(value: T, from targetCoordinateSpace: Self) throws -> T where T : ProjectiveTransformable3D
```

## Parameters

- `value`: The value the function converts between spaces given in reference to the sourceCoordinateSpace.

## Return Value

Return Value The value converted from the source space to this one.
