# Sandbox.SceneTrace.UseRenderMeshes

## Overload 1

```csharp
SceneTrace UseRenderMeshes(bool hit = True)
```

Should we hit meshes too? This can be slow and only works for the editor.

### Parameters

- `hit` (`bool`), default `True`

### Returns

`SceneTrace`

## Overload 2

```csharp
SceneTrace UseRenderMeshes(bool hitFront, bool hitBack)
```

Should we hit meshes too? This can be slow and only works for the editor.

### Parameters

- `hitFront` (`bool`)
- `hitBack` (`bool`)

### Returns

`SceneTrace`

Declared in [Sandbox.SceneTrace](/api/Sandbox.SceneTrace).
Assembly: `Sandbox.Engine`.
