public override void DrawNodePropertyEditor()
 {
     base.DrawNodePropertyEditor();
     m_Radius.SliderLabel(this, "Radius");
     m_Length.SliderLabel(this, "Height");
     m_Sides.SliderLabelInt(this, "Sides");
     m_SubDivide.SliderLabelInt(this, "vertical SubDivide");
 }
Exemple #2
0
        public override void DrawNodePropertyEditor()
        {
            base.DrawNodePropertyEditor();
            m_Mesh = (Mesh)EditorGUILayout.ObjectField(m_Mesh, typeof(Mesh), false, GUILayout.MinWidth(200), GUILayout.MinHeight(50));

            m_MaterialIndex.SliderLabelInt(this, "Seed");
            m_EdgeAngleDif.SliderLabel(this, "Edge Angle Limit");
        }
 public override void DrawNodePropertyEditor()
 {
     base.DrawNodePropertyEditor();
     m_Value1.SliderLabel(this, "Seed");                   //, -10000.0f, 10000.0f) ;//,new GUIContent("Red", "Float"), m_R);
     //m_Value2.SliderLabel(this,"Randomize");//, 0.001f, 1.0f);//,new GUIContent("Red", "Float"), m_R);
     m_Value3.SliderLabelInt(this, "Repeat");              //, 1, 100);//,new GUIContent("Red", "Float"), m_R);
     m_Probability.SliderLabel(this, "Probability Black"); //, -1.0f, 1.0f);//,new GUIContent("Red", "Float"), m_R);
     m_OffsetX.SliderLabel(this, "Random OffsetX");        //, -1.0f, 1.0f);//,new GUIContent("Red", "Float"), m_R);
     m_OffsetY.SliderLabel(this, "Random OffsetY");        //, -1.0f, 1.0f);//,new GUIContent("Red", "Float"), m_R);
     m_OffsetRow.SliderLabel(this, "Random OffsetRow");    //, -1.0f, 1.0f);//,new GUIContent("Red", "Float"), m_R);
     m_Angle.SliderLabel(this, "RandomAngleScale");
     m_ScaleMin.SliderLabel(this, "RandomZoomScaleMin");
     m_ScaleMax.SliderLabel(this, "RandomZoomScaleMax");
     m_Brightness.SliderLabel(this, "Brightness Randomness");
 }
Exemple #4
0
        public override void DrawNodePropertyEditor()
        {
            base.DrawNodePropertyEditor();

            m_Seed.SliderLabelInt(this, "Seed");
            m_Sides.SliderLabelInt(this, "SideCount");
            m_Radius.SliderLabel(this, "Radius");
            m_X.SliderLabel(this, "Mid X");
            m_Y.SliderLabel(this, "Mid Y");

            m_RandomizeVertPos.SliderLabel(this, "Randomize vert Positions");
            m_RandomizeRadius.SliderLabel(this, "Randomize radius per vert");

            m_OuterBrightness.SliderLabel(this, "Outer Brightness");
            m_InnerBrightness.SliderLabel(this, "Inner Brightness");


            m_RandomizeOuterBrightness.SliderLabel(this, "Randomize Outer Brightness (add)");
            m_RandomizeInnerBrightness.SliderLabel(this, "Randomize Inner Brightness (add)");

            m_IncrementBrightnessPerVert.SliderLabel(this, "Increment Brightness Per Vert)");
        }
Exemple #5
0
        public override void DrawNodePropertyEditor()
        {
            m_LoopCount.SliderLabelInt(this, "LoopCount");// = RTEditorGUI.IntSlider(m_LoopCount, 1, 100);

            //NodeGUI();
        }