# mesh

> The mesh to add to a RayTracingAccelerationStructure.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Mesh mesh
```

### Remarks

If the mesh is destroyed then Unity automatically removes all ray tracing instances that were using the mesh from the [RayTracingAccelerationStructure](/engine/6000.7/script-reference/unityengine/rendering/raytracingaccelerationstructure.md).

Unity only ray traces triangle-based geometries. It does not ray trace other [MeshTopology](/engine/6000.7/script-reference/unityengine/meshtopology.md) types.
