Beispiel #1
0
 private void hideTransform()
 {
     label1.Hide(); label4.Hide(); label7.Hide();
     label2.Hide(); label5.Hide(); label8.Hide();
     label3.Hide(); label6.Hide(); label9.Hide();
     LocationX.Hide(); LocationY.Hide(); LocationZ.Hide();
     RotationRoll.Hide(); RotationYaw.Hide(); RotationPitch.Hide();
     ScaleX.Hide(); ScaleY.Hide(); ScaleZ.Hide();
 }
Beispiel #2
0
        private void LocationZ_MouseMove(object sender, MouseEventArgs e)
        {
            if (LocationZispress)
            {
                Point point = LocationZ.PointToClient(Control.MousePosition);

                LocationZ.Text = (point.X + tempLocationZ).ToString();
                var Proinstance = nodeGraph2.Nodes[Member];
                if (ProType.Equals("ADD"))
                {
                }
                else
                {
                    (Proinstance.Properties[EditedPropertise] as ZDProperty_Transform).Value.Location.Z = Convert.ToSingle(LocationZ.Text);
                }
            }
        }