# GetIntersectionShaderName(RayTracingShader)

> Returns the name of a user-defined intersection shader from within a RayTracingShader.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static string GetIntersectionShaderName(RayTracingShader s)
```

### Parameters

**** (\[RayTracingShader]\(/engine/6000.5/script-reference/unityengine/rendering/raytracingshader)): The [RayTracingShader](/engine/6000.5/script-reference/unityengine/rendering/raytracingshader.md) instance.

### Returns

| Type                                                           | Description                          |
| -------------------------------------------------------------- | ------------------------------------ |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The name of the intersection Shader. |
