---
title: "init(pitch:yaw:roll:)"
framework: gamecontroller
role: symbol
role_heading: Initializer
path: "gamecontroller/gceulerangles/init(pitch:yaw:roll:)"
---

# init(pitch:yaw:roll:)

Creates the structure with the specified values.

## Declaration

```swift
init(pitch: Double, yaw: Double, roll: Double)
```

## Parameters

- `pitch`: The rotation around the x-axis that passes through the controller from side to side.
- `yaw`: The rotation around the y-axis that runs vertically through the controller.
- `roll`: The rotation around the z-axis that passes through the controller from its top to bottom.
