<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKQuaternion",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@T@GLKQuaternion"
  },
  "title" : "GLKQuaternion"
}
-->

# GLKQuaternion

A representation of a quaternion.

```
typealias GLKQuaternion = _GLKQuaternion
```

## Discussion

### Fields

|Name|Description                                                        |
|----|-------------------------------------------------------------------|
|`v` |The vector portion of the quaternion.                              |
|`s` |The scalar component of the quaternion.                            |
|`x` |The x component of the vector portion of the quaternion.           |
|`y` |The y component of the vector portion of the quaternion.           |
|`z` |The z component of the vector portion of the quaternion.           |
|`w` |The scalar component of the quaternion.                            |
|`q` |The components of the quaternion expressed as an array of elements.|

---

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)