Exemple #1
0
        public void SetOrbitColours(OrbitColours orbitColours, IGUIUpdateable guiUpdateable)
        {
            _OrbitColours  = orbitColours;
            _GUIUpdateable = guiUpdateable;

            SetupGUI();
        }
 public void Set(double value, double min, double max, IGUIUpdateable guiTarget)
 {
     _Min = min;
     _Max = max;
     SetValue(value);
     _GUIUpdateTarget = guiTarget;
 }
Exemple #3
0
 public void Set(Colour colour, IGUIUpdateable guiUpdateTarget)
 {
     _GUIUpdateTarget = guiUpdateTarget;
     _Colour          = colour;
     _HSLColour       = new HSLColour(colour);
     RenderSwatches();
 }
        public void SetOrbitColours(OrbitColours orbitColours, IGUIUpdateable guiUpdateable)
        {
            _OrbitColours = orbitColours;
            _GUIUpdateable = guiUpdateable;

            SetupGUI();
        }
Exemple #5
0
 public void Set(string labelName, double value, double min, double max, FloatEditorFlags flags, IGUIUpdateable guiTarget)
 {
     _LabelName = labelName;
     _Flags     = flags;
     wooSlider1.Set(value, min, max, this);
     _GUIUpdateTarget = guiTarget;
 }
        public void SetMaterial(Material material, IGUIUpdateable guiUpdateable)
        {
            _Material      = material;
            _GUIUpdateable = guiUpdateable;

            RenderMaterial();
        }
        public void SetMaterial(Material material, IGUIUpdateable guiUpdateable)
        {
            _Material = material;
            _GUIUpdateable = guiUpdateable;

            RenderMaterial();
        }
        public void Set(Colour colour, double max, IGUIUpdateable guiUpdateTarget)
        {
            _GUIUpdateTarget = guiUpdateTarget;
            _Colour          = colour;
            _Maximum         = max;

            RenderSliders();

            UpdateSwatch();
        }
        public void Set(Colour colour, double max, IGUIUpdateable guiUpdateTarget)
        {
            _GUIUpdateTarget = guiUpdateTarget;
            _Colour = colour;
            _Maximum = max;

            RenderSliders();

            UpdateSwatch();
        }
        public void Set(string labelName, Vector3 value, Vector3 min, Vector3 max, VectorEditorFlags flags, IGUIUpdateable guiTarget)
        {
            _LabelName = labelName;
            _Flags     = flags;
            wooSlider1.Set(value.x, min.x, max.x, this);
            wooSlider2.Set(value.y, min.y, max.y, this);
            wooSlider3.Set(value.z, min.z, max.z, this);
            if ((_Flags & VectorEditorFlags.Rotation) > 0)
            {
                label2.Content = "R";
                label3.Content = "P";
                label4.Content = "Y";
            }

            _GUIUpdateTarget = guiTarget;
        }
 public void Set(MaterialSelection materialSelection, Material material, IGUIUpdateable guiTarget)
 {
     _MaterialSelection = materialSelection;
     _Selected          = material;
     _GUIUpdateTarget   = guiTarget;
 }