Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 8
0
 public AlbedoGradientDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor)
 {
 }
Exemplo n.º 9
0
 public EmissiveTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, ProjectionEditor Editor) : base(Label, PropertyGroup, Editor)
 {
 }
Exemplo n.º 10
0
 public ShapeTextureDrawer(GUIContent Label, SerializedProperty PropertyGroup, SerializedProperty TransparencyType, SerializedProperty Cutoff, ProjectionEditor Editor) : base(Label, PropertyGroup, TransparencyType, Cutoff, Editor)
 {
 }