---
title: init()
framework: swiftui
role: symbol
role_heading: Initializer
path: swiftui/unitpoint3d/init()
---

# init()

Creates a 3D unit point at the origin.

## Declaration

```swift
init()
```

## Discussion

Discussion A view’s origin appears in the top-left-back corner in a left-to-right language environment, with positive x toward the right. It appears in the top-right-back corner in a right-to-left language, with positive x toward the left. Positive y is always toward the bottom of the view, and positive z points toward the front.

## See Also

### Creating a point

- [init(x:y:z:)](swiftui/unitpoint3d/init(x:y:z:).md)
