<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNVector4ToGLKVector4(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@F@SCNVector4ToGLKVector4"
  },
  "title" : "SCNVector4ToGLKVector4(_:)"
}
-->

# SCNVector4ToGLKVector4(_:)

Returns a four-element GLKit vector structure corresponding to a SceneKit vector structure.

```
func SCNVector4ToGLKVector4(_ vector: SCNVector4) -> GLKVector4
```

## Parameters

`vector`

A four-element SceneKit vector structure.

## Return Value

A four-element GLKit vector structure representing the same vector as the input parameter.

## Discussion

---

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)