---
title: "sheared(_:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rect3d/sheared(_:)"
---

# sheared(_:)

Returns a rectangle that results from shearing over an axis by shear factors for the other two axes.

## Declaration

```swift
func sheared(_ shear: AxisWithFactors) -> Rect3D
```

## Parameters

- `shear`: The shear axis and factors.

## Return Value

Return Value The rectangle that results from shearing over an axis by shear factors for the other two axes.

## See Also

### Transforming a 3D rectangle structure

- [applying(_:)](spatial/rect3d/applying(_:)-3qdiy.md)
- [applying(_:)](spatial/rect3d/applying(_:)-5hnif.md)
- [applying(_:)](spatial/rect3d/applying(_:)-5hnif.md)
- [rotated(by:around:)](spatial/rect3d/rotated(by:around:)-3ih62.md)
- [rotated(by:around:)](spatial/rect3d/rotated(by:around:)-8g1c9.md)
- [scaledBy(x:y:z:)](spatial/rect3d/scaledby(x:y:z:).md)
- [unapplying(_:)](spatial/rect3d/unapplying(_:)-1j6g7.md)
- [unapplying(_:)](spatial/rect3d/unapplying(_:)-1pbfn.md)
- [unapplying(_:)](spatial/rect3d/unapplying(_:)-2he5i.md)
- [unapplying(_:)](spatial/rect3d/unapplying(_:)-7eglq.md)
