---
title: "SCNVector4Make(_:_:_:_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector4make(_:_:_:_:)"
---

# SCNVector4Make(_:_:_:_:)

Returns a new four-component vector created from individual component values.

## Declaration

```swift
func SCNVector4Make(_ x: Float, _ y: Float, _ z: Float, _ w: Float) -> SCNVector4
```

```swift
func SCNVector4Make(_ x: CGFloat, _ y: CGFloat, _ z: CGFloat, _ w: CGFloat) -> SCNVector4
```

## Parameters

- `x`: The first component of the vector.
- `y`: The second component of the vector.
- `z`: The third component of the vector.
- `w`: The fourth component of the vector.

## Return Value

Return Value An initialized SCNVector4 structure.
