文档

Unity Engine

Unity Engine

GetIntersectionShaderName(RayTracingShader)

Returns the name of a user-defined intersection shader from within a RayTracingShader.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

Returns

Type

Description

stringThe name of the intersection Shader.