---
title: "GLKVector4MakeWithArray(_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkvector4makewitharray(_:)"
---

# GLKVector4MakeWithArray(_:)

Returns a new four-component vector created from an array of components.

## Declaration

```swift
func GLKVector4MakeWithArray(_ values: UnsafeMutablePointer<Float>!) -> GLKVector4
```

## Parameters

- `values`: The array containing the component values.

## Return Value

Return Value The array

## Discussion

Discussion An initialized vector.

## See Also

### Creating Vectors

- [GLKVector4Make(_:_:_:_:)](glkit/glkvector4make(_:_:_:_:).md)
- [GLKVector4MakeWithVector3(_:_:)](glkit/glkvector4makewithvector3(_:_:).md)
