Version: 2019.2
public void OnGUI (MaterialEditor materialEditor, MaterialProperty[] properties);

パラメーター

materialEditorこの OnGUI ('owner') を呼び出している MaterialEditor
properties現在選択されているシェーダーのマテリアルプロパティー

説明

Custom Shader GUI を定義するには properties 配列の描画を制御するために materialEditor のメソッドを使用します。