Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAnyHitShaderName(RayTracingShader)

Returns the name of a user-defined any hit shader from within a RayTracingShader.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetAnyHitShaderName(RayTracingShader s)

Parameters

Returns

Type

Description

stringThe name of the any hit shader.