<!--
{
  "documentType" : "article",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/rotate-value-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Rotate Value Functions"
}
-->

# Rotate Value Functions

Rotate value transform functions construct a 4x4 matrix that represents the corresponding rotation matrix.

## Topics

### Constants

[`rotateX`](/documentation/QuartzCore/CAValueFunctionName/rotateX)

A value function that rotates by the input value, in radians, around the x-axis. This value function expects a single input value.

[`rotateY`](/documentation/QuartzCore/CAValueFunctionName/rotateY)

A value function that rotates by the input value, in radians, around the y-axis. This value function expects a single input value.

[`rotateZ`](/documentation/QuartzCore/CAValueFunctionName/rotateZ)

A value function that rotates by the input value, in radians, around the z-axis. This value function expects a single input value.



---

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)