---
title: "SCNVector4FromGLKVector4(_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector4fromglkvector4(_:)"
---

# SCNVector4FromGLKVector4(_:)

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

## Declaration

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

## Parameters

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

## Return Value

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

## See Also

### Converting Vector Types

- [SCNVector4ToGLKVector4(_:)](scenekit/scnvector4toglkvector4(_:).md)
