---
title: init()
framework: realitykit
role: symbol
role_heading: Initializer
path: realitykit/meshresource/shapeextrusionoptions/init()
---

# init()

Creates the shape extrusion options with default values.

## Declaration

```swift
init()
```

## Discussion

Discussion By default, the extrusion method is MeshResource.ShapeExtrusionOptions.ExtrusionMethod.linear(depth:), with a depth of 0.25m, and all sides are assigned the first material.
