public NormalDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { preview = new NormalTexturePreview(); editor = Editor; label = Label; texture = PropertyGroup.FindPropertyRelative("texture"); strength = PropertyGroup.FindPropertyRelative("strength"); }
public GlossDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { preview = new GreyScaleTexturePreview(); label = Label; editor = Editor; texture = PropertyGroup.FindPropertyRelative("texture"); glossiness = PropertyGroup.FindPropertyRelative("glossiness"); }
public EmissiveDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) { preview = new EmissiveTexturePreview(); editor = Editor; label = Label; texture = PropertyGroup.FindPropertyRelative("texture"); color = PropertyGroup.FindPropertyRelative("color"); intensity = PropertyGroup.FindPropertyRelative("intensity"); }
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"); }
public AlbedoDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) { preview = new AlbedoTexturePreview(); editor = Editor; label = Label; transparencyType = TransparencyType; cutoff = Cutoff; texture = PropertyGroup.FindPropertyRelative("texture"); color = PropertyGroup.FindPropertyRelative("color"); }
public ShapeDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) { preview = new ShapeTexturePreview(); label = Label; editor = Editor; transparencyType = TransparencyType; cutoff = Cutoff; texture = PropertyGroup.FindPropertyRelative("texture"); multiplier = PropertyGroup.FindPropertyRelative("multiplier"); }
public AlbedoGradientDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor) { }
public EmissiveTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) : base(Label, PropertyGroup, Editor) { }
public ShapeTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor) { }