---
title: "SCNVector3Make(_:_:_:)"
framework: scenekit
role: symbol
role_heading: Function
path: "scenekit/scnvector3make(_:_:_:)"
---

# SCNVector3Make(_:_:_:)

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

## Declaration

```swift
func SCNVector3Make(_ x: Float, _ y: Float, _ z: Float) -> SCNVector3
```

```swift
func SCNVector3Make(_ x: CGFloat, _ y: CGFloat, _ z: CGFloat) -> SCNVector3
```

## Parameters

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

## Return Value

Return Value An initialized SCNVector3 structure.
