---
title: "applying(_:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rotation3dfloat/applying(_:)"
---

# applying(_:)

Returns a rotation that’s transformed by the specified projective transform.

## Declaration

```swift
func applying(_ transform: ProjectiveTransform3DFloat) -> Rotation3DFloat
```

## Parameters

- `transform`: The projective transform.

## Discussion

Discussion Returns The transformed rotation. In the case where Spatial is unable to successfully apply the transform, the function returns .identity. This function applies the transform to the rotation.
