---
title: "GLKQuaternionMake(_:_:_:_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkquaternionmake(_:_:_:_:)"
---

# GLKQuaternionMake(_:_:_:_:)

Returns a quaternion created from its separate components.

## Declaration

```swift
func GLKQuaternionMake(_ x: Float, _ y: Float, _ z: Float, _ w: Float) -> GLKQuaternion
```

## Parameters

- `x`: The x component of the quaternion.
- `y`: The y component of the quaternion.
- `z`: The z component of the quaternion.
- `w`: The w component of the quaternion.

## Return Value

Return Value A new quaternion.

## See Also

### Creating Quaternions

- [GLKQuaternionMakeWithArray(_:)](glkit/glkquaternionmakewitharray(_:).md)
- [GLKQuaternionMakeWithVector3(_:_:)](glkit/glkquaternionmakewithvector3(_:_:).md)
- [GLKQuaternionMakeWithAngleAndAxis(_:_:_:_:)](glkit/glkquaternionmakewithangleandaxis(_:_:_:_:).md)
- [GLKQuaternionMakeWithAngleAndVector3Axis(_:_:)](glkit/glkquaternionmakewithangleandvector3axis(_:_:).md)
- [GLKQuaternionMakeWithMatrix3(_:)](glkit/glkquaternionmakewithmatrix3(_:).md)
- [GLKQuaternionMakeWithMatrix4(_:)](glkit/glkquaternionmakewithmatrix4(_:).md)
