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

# GLKVector3

A representation of a 3-component vector.

```
typealias GLKVector3 = _GLKVector3
```

## Discussion

### Fields

|Name|Description                                                                                       |
|----|--------------------------------------------------------------------------------------------------|
|`x` |The first component in the vector. Typically used when the vector refers to a position or normal. |
|`y` |The second component in the vector. Typically used when the vector refers to a position or normal.|
|`z` |The third component in the vector. Typically used when the vector refers to a position or normal. |
|`r` |The first component in the vector. Typically used when the vector refers to a color value.        |
|`g` |The second component in the vector. Typically used when the vector refers to a color value.       |
|`b` |The third component in the vector. Typically used when the vector refers to a color value.        |
|`s` |The first component in the vector. Typically used when the vector refers to texture coordinates.  |
|`t` |The second component in the vector. Typically used when the vector refers to texture coordinates. |
|`p` |The third component in the vector. Typically used when the vector refers to texture coordinates.  |
|`v` |The elements of the vector expressed as an array.                                                 |

---

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)