ドキュメント

Unity Engine

Unity Engine

GetCustomEditorForRenderPipeline

Gets the shader's custom editor class name for a specific render pipeline asset type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetCustomEditorForRenderPipeline(Shader, string)

Gets the shader's custom editor class name for a specific render pipeline asset type.
public static string GetCustomEditorForRenderPipeline(Shader shader, string renderPipelineType)

Parameters

shader

The shader to check against.

renderPipelineType

The render pipeline asset type.

Returns

Type

Description

stringReturns the full class name of the custom editor.

GetCustomEditorForRenderPipeline(Shader, Type)

Gets the shader's custom editor class name for a specific render pipeline asset type.
public static string GetCustomEditorForRenderPipeline(Shader shader, Type renderPipelineType)

Parameters

shader

The shader to check against.

renderPipelineType

The render pipeline asset type.

Returns

Type

Description

stringReturns the full class name of the custom editor.