---
title: "init(x:y:z:)"
framework: gamecontroller
role: symbol
role_heading: Initializer
path: "gamecontroller/gcrotationrate/init(x:y:z:)"
---

# init(x:y:z:)

Creates a rotation rate structure with the specified values.

## Declaration

```swift
init(x: Double, y: Double, z: Double)
```

## Parameters

- `x`: The value for the x-axis.
- `y`: The value for the y-axis.
- `z`: The value for the z-axis.
