示例#1
0
        public static Vector3? GetScale()
        {
            ApplyScale edit = new ApplyScale();
            edit.ShowDialog();

            if (edit.OK)
                return new Vector3((float)edit.numericUpDownX.Value, (float)edit.numericUpDownY.Value, (float)edit.numericUpDownZ.Value);
            return null;
        }
示例#2
0
        public static Vector3 GetScale(out bool OK)
        {
            ApplyScale edit = new ApplyScale();

            edit.ShowDialog();

            OK = edit.OK;
            return(new Vector3((float)edit.numericUpDownX.Value, (float)edit.numericUpDownY.Value, (float)edit.numericUpDownZ.Value));
        }