<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNVector3EqualToVector3(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@F@SCNVector3EqualToVector3"
  },
  "title" : "SCNVector3EqualToVector3(_:_:)"
}
-->

# SCNVector3EqualToVector3(_:_:)

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

```
func SCNVector3EqualToVector3(_ a: SCNVector3, _ b: SCNVector3) -> Bool
```

## Parameters

`a`

The first vector.

`b`

The second vector.

## Return Value

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)