Exemplo n.º 1
0
 private void viewport_OnMouseMove(object sender, ViewportMouseMoveEventArgs e)
 {
     llblShoutOut.Visible = false;
     if (e.Viewport.ProjectionMode == ProjectionType.Orthographic)
     {
         lblCoords.Text = $"{e.Position.X:0.000}, {e.Position.Y:0.000}, {e.Position.Z:0.000}";
     }
 }
Exemplo n.º 2
0
 private void viewport_OnMouseMove(object sender, ViewportMouseMoveEventArgs e)
 {
     llblShoutOut.Visible = false;
     lblCoords.Text       = string.Format("{0:0.000}, {1:0.000}, {2:0.000}", e.Position.X, e.Position.Y, e.Position.Z);
 }
Exemplo n.º 3
0
 private void viewport_OnMouseMove(object sender, ViewportMouseMoveEventArgs e)
 {
     llblShoutOut.Visible = false;
     lblCoords.Text = string.Format("{0:0.000}, {1:0.000}, {2:0.000}", e.Position.X, e.Position.Y, e.Position.Z);
 }