---
title: "init(SCNVector4:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsvalue/init(scnvector4:)"
---

# init(SCNVector4:)

Creates a value object that contains the specified four-element SceneKit vector.

## Declaration

```swift
init(SCNVector4 v: SCNVector4)
```

```swift
init(scnVector4 v: SCNVector4)
```

## Parameters

- `v`: The value for the new object.

## Return Value

Return Value A new value object that contains the vector information.

## See Also

### Related Documentation

- [SCNVector4](scenekit/scnvector4.md)

### Working with SceneKit Vector and Matrix Values

- [init(SCNVector3:)](foundation/nsvalue/init(scnvector3:).md)
- [init(SCNMatrix4:)](foundation/nsvalue/init(scnmatrix4:).md)
- [scnVector3Value](foundation/nsvalue/scnvector3value.md)
- [scnVector4Value](foundation/nsvalue/scnvector4value.md)
- [scnMatrix4Value](foundation/nsvalue/scnmatrix4value.md)
