public GlossDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { preview = new GreyScaleTexturePreview(); label = Label; editor = Editor; texture = PropertyGroup.FindPropertyRelative("texture"); glossiness = PropertyGroup.FindPropertyRelative("glossiness"); }
public SpecularDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { gloss = new GreyScaleTexturePreview(); specular = new ColorTexturePreview(); editor = Editor; label = Label; texture = PropertyGroup.FindPropertyRelative("texture"); color = PropertyGroup.FindPropertyRelative("color"); glossiness = PropertyGroup.FindPropertyRelative("glossiness"); }
public MetallicDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { gloss = new GreyScaleTexturePreview(); metallic = new GreyScaleTexturePreview(); editor = Editor; label = Label; texture = PropertyGroup.FindPropertyRelative("texture"); metallicity = PropertyGroup.FindPropertyRelative("metallicity"); glossiness = PropertyGroup.FindPropertyRelative("glossiness"); }