# SurfaceMaterial

> Create a default surface material.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

## SurfaceMaterial()

Create a default surface material.

```csharp
public SurfaceMaterial()
```

## SurfaceMaterial(bool)

Create a default surface material.

```csharp
public SurfaceMaterial(bool useSettings)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Controls whether the default come settings from the physics settings or not.
