<!--
{
  "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/Ray3DFloat/unapplying(_:)-3zk38",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So12SPRay3DFloata7SpatialE10unapplyingyABSo013SPScaledPose3B0aF"
  },
  "title" : "unapplying(_:)"
}
-->

# unapplying(_:)

Returns a ray that’s transformed by the inverse of the specified scaled pose.

```
func unapplying(_ scaledPose: ScaledPose3DFloat) -> Ray3DFloat
```

## Discussion

- Returns The transformed ray.
  This function rotates the ray’s direction by the pose’s rotation and offsets the ray’s origin by the pose’s position.

---

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)