<!--
{
  "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/Rotation3DFloat/*(_:_:)-2mmaj",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So17SPRotation3DFloata7SpatialE1moiyA2B_SftFZ"
  },
  "title" : "*(_:_:)"
}
-->

# *(_:_:)

Calculates the spherical linear interpolation between the identity rotation and the LHS rotation
at the RHS interpolation parameter.

```
static func * (lhs: Rotation3DFloat, rhs: Float) -> Rotation3DFloat
```

## Parameters

`lhs`

The rotation

`rhs`

The interpolation parameter.

## Discussion

For example, multiplying an angle of 90° by `0.5`, returns an angle of 45°:

```
 let rotation = Rotation3DFloat(angle: Angle2DFloat(degrees: 90),
                           axis: .init(x: 0, y: 1, z: 0))
 let rotated = (rotation * 0.5).angle.degrees
 print(rotated) // prints "45.0"
```

- Note This function returns the longest path where the angle is greater than 180°,

---

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)