Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetClosestHitShaderName(RayTracingShader)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static string GetClosestHitShaderName(RayTracingShader s)

Parameters

Returns

Type

Description

stringThe name of the closest hit shader.