# Transform

> Transform the specified geometry.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

## Transform(PhysicsTransform)

Transform the specified geometry.

```csharp
public readonly PolygonGeometry Transform(PhysicsTransform transform)
```

### Parameters

**** (\[PhysicsTransform]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform)): The transform used to specify where the geometry is positioned.

### Returns

| Type                                                                                                | Description               |
| --------------------------------------------------------------------------------------------------- | ------------------------- |
| [PolygonGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry.md) | The transformed geometry. |

## Transform(Matrix4x4, bool)

Transform the specified geometry. The maximum absolute value component from the scale will be used to scale the [PolygonGeometry.radius](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry/radius.md).

```csharp
public readonly PolygonGeometry Transform(Matrix4x4 transform, bool scaleRadius)
```

### Parameters

**** (\[Matrix4x4]\(/engine/6000.3/script-reference/unityengine/matrix4x4)): The transform used to specify where the geometry is positioned.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to scale the radius of the shape.

### Returns

| Type                                                                                                | Description               |
| --------------------------------------------------------------------------------------------------- | ------------------------- |
| [PolygonGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry.md) | The transformed geometry. |
