# 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:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

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

## Properties

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

## Methods

| Method                                                                                                            | Description                  |
| ----------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| [Dispose](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdestructor/sliceresult/dispose.md) | Dispose of the slice result. |
