# PhysicsDestructor.SliceResult

> The result of a slice operation. This must be disposed of after use otherwise leaks will occur. See PhysicsDestructor.Slice.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public readonly struct PhysicsDestructor.SliceResult : IDisposable
```

## Properties

| Property                                                                                                          | Description                                                       |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [leftGeometry](/engine/6000.6/script-reference/unity/u2d/physics/physicsdestructor/sliceresult/leftgeometry.md)   | The geometry that was sliced on the "left" of the line.           |
| [rightGeometry](/engine/6000.6/script-reference/unity/u2d/physics/physicsdestructor/sliceresult/rightgeometry.md) | The geometry that was sliced on the "right" of the line.          |
| [transform](/engine/6000.6/script-reference/unity/u2d/physics/physicsdestructor/sliceresult/transform.md)         | The transform used when slicing. All returned geometry uses this. |

## Methods

| Method                                                                                                | Description                  |
| ----------------------------------------------------------------------------------------------------- | ---------------------------- |
| [Dispose](/engine/6000.6/script-reference/unity/u2d/physics/physicsdestructor/sliceresult/dispose.md) | Dispose of the slice result. |
