---
title: rotation
framework: hvf
role: symbol
role_heading: Instance Property
platforms: [iOS 18.4+, iPadOS 18.4+, Mac Catalyst 18.4+, macOS 15.4+, tvOS 18.4+, visionOS 2.4+, watchOS 11.4+]
path: hvf/partrenderer/partparameters/rotation
---

# rotation

The rotation applied to the part, counterclockwise, in radians

## Declaration

```swift
var rotation: Double { get set }
```
