---
title: extrusionMethod
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/meshresource/shapeextrusionoptions/extrusionmethod-swift.property
---

# extrusionMethod

Specifies the extrusion type applied to the swept shape in 3D space.

## Declaration

```swift
var extrusionMethod: MeshResource.ShapeExtrusionOptions.ExtrusionMethod
```

## Discussion

Discussion For example, use .linear(depth: 0.25) to extrude the shape in Z by 0.25 meters.
