---
title: "init(x:y:z:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpsorigin/init(x:y:z:)"
---

# init(x:y:z:)

## Declaration

```swift
init(x: Double, y: Double, z: Double)
```
