---
title: "SCNVector4ToGLKVector4(_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector4toglkvector4(_:)"
---

# SCNVector4ToGLKVector4(_:)

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

## Declaration

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

## Parameters

- `vector`: A four-element SceneKit vector structure.

## Return Value

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

## See Also

### Converting Vector Types

- [SCNVector4FromGLKVector4(_:)](scenekit/scnvector4fromglkvector4(_:).md)
