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

# GLKMatrix4MultiplyVector3Array(_:_:_:)

Multiplies a 4x4 matrix by an array of 3-component vectors.

## Declaration

```swift
func GLKMatrix4MultiplyVector3Array(_ matrix: GLKMatrix4, _ vectors: UnsafeMutablePointer<GLKVector3>, _ vectorCount: Int)
```

## Parameters

- `matrix`: The matrix multiplicand.
- `vectors`: On entry, an array of input vectors. On return, an array of output vectors.
- `vectorCount`: The number of vectors in the array.

## Discussion

Discussion The input vectors are treated as they were 4-component vectors with a w-component of 0.0.

## See Also

### Performing Mathematical Operations on Vectors

- [GLKMatrix4MultiplyVector3(_:_:)](glkit/glkmatrix4multiplyvector3(_:_:).md)
- [GLKMatrix4MultiplyVector3WithTranslation(_:_:)](glkit/glkmatrix4multiplyvector3withtranslation(_:_:).md)
- [GLKMatrix4MultiplyVector3ArrayWithTranslation(_:_:_:)](glkit/glkmatrix4multiplyvector3arraywithtranslation(_:_:_:).md)
- [GLKMatrix4MultiplyVector4(_:_:)](glkit/glkmatrix4multiplyvector4(_:_:).md)
- [GLKMatrix4MultiplyVector4Array(_:_:_:)](glkit/glkmatrix4multiplyvector4array(_:_:_:).md)
- [GLKMatrix4MultiplyAndProjectVector3(_:_:)](glkit/glkmatrix4multiplyandprojectvector3(_:_:).md)
- [GLKMatrix4MultiplyAndProjectVector3Array(_:_:_:)](glkit/glkmatrix4multiplyandprojectvector3array(_:_:_:).md)
