Пример #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();
 }
Пример #2
0
 private void RotationYaw_MouseMove(object sender, MouseEventArgs e)
 {
     if (RotationYawispress)
     {
         Point point = RotationYaw.PointToClient(Control.MousePosition);
         RotationYaw.Text = (point.X + tempRotationYaw).ToString();
         var Proinstance = nodeGraph2.Nodes[Member];
         if (ProType.Equals("ADD"))
         {
         }
         else
         {
             (Proinstance.Properties[EditedPropertise] as ZDProperty_Transform).Value.Rotation.Yaw = Convert.ToSingle(RotationYaw.Text);
         }
     }
 }