示例#1
0
        public NormalDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor)
        {
            preview = new NormalTexturePreview();

            editor = Editor;
            label  = Label;

            texture  = PropertyGroup.FindPropertyRelative("texture");
            strength = PropertyGroup.FindPropertyRelative("strength");
        }
示例#2
0
        public GlossDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor)
        {
            preview = new GreyScaleTexturePreview();

            label  = Label;
            editor = Editor;

            texture    = PropertyGroup.FindPropertyRelative("texture");
            glossiness = PropertyGroup.FindPropertyRelative("glossiness");
        }
示例#3
0
        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");
        }
示例#4
0
        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");
        }
示例#5
0
        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");
        }
示例#6
0
        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");
        }
示例#7
0
        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");
        }
示例#8
0
 public AlbedoGradientDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor)
 {
 }
示例#9
0
 public EmissiveTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) : base(Label, PropertyGroup, Editor)
 {
 }
示例#10
0
 public ShapeTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor)
 {
 }