AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
EditorHandsMaterialInspector.cs
Go to the documentation of this file.
1 using UnityEditor;
2 
3 namespace HoloToolkit.Unity
4 {
5  public class EditorHandsMaterialInspector : ShaderGUI
6  {
7  public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
8  {
9  foreach (MaterialProperty materialProperty in properties)
10  {
11  if (materialProperty.flags != MaterialProperty.PropFlags.PerRendererData)
12  {
13  materialEditor.ShaderProperty(materialProperty, materialProperty.displayName);
14  }
15  }
16  }
17  }
18 }
override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)