<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "swift: -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSValue/init(SCNMatrix4:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSValue(cm)valueWithSCNMatrix4:"
  },
  "title" : "init(SCNMatrix4:)"
}
-->

# init(SCNMatrix4:)

Creates a value object that contains the specified SceneKit 4 x 4 matrix.

```
init(SCNMatrix4 v: SCNMatrix4)
```

## Parameters

`v`

The value for the new object.

## Return Value

A new value object that contains the matrix information.

## See Also

  <doc://com.apple.documentation/documentation/SceneKit/SCNMatrix4-swift.typealias>



---

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)