---
title: "SCNVector3FromGLKVector3(_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector3fromglkvector3(_:)"
---

# SCNVector3FromGLKVector3(_:)

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

## Declaration

```swift
func SCNVector3FromGLKVector3(_ vector: GLKVector3) -> SCNVector3
```

## Parameters

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

## Return Value

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

## See Also

### Converting Vector Types

- [SCNVector3ToGLKVector3(_:)](scenekit/scnvector3toglkvector3(_:).md)
