---
title: "SCNVector4EqualToVector4(_:_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector4equaltovector4(_:_:)"
---

# SCNVector4EqualToVector4(_:_:)

Returns a Boolean value that indicates whether the corresponding components of two vectors are equal.

## Declaration

```swift
func SCNVector4EqualToVector4(_ a: SCNVector4, _ b: SCNVector4) -> Bool
```

## Parameters

- `a`: The first vector.
- `b`: The second vector.

## Return Value

Return Value True if each component of a is exactly equal to b.

## Discussion

Discussion This function performs a numeric (not bitwise) comparison of each pair of component values.
