<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKQuaternionMake(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@F@GLKQuaternionMake"
  },
  "title" : "GLKQuaternionMake(_:_:_:_:)"
}
-->

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

Returns a quaternion created from its separate components.

```
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

A new quaternion.

---

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)