protected void OnMouseButtonUp(object sender, InputMouseEventArgs e) { if (e.Handled) { return; } if (e.Button == MouseButton.Right) { Camera.MouseLook = !Camera.MouseLook; e.Handled = true; } }
protected void OnButtonUp(object sender, InputMouseEventArgs e) { if (e.Handled) { return; } if (e.Button == MouseButton.Left) { Select(); if (0 != selection.Count) { e.Handled = true; } } }
protected void OnButtonUp(object sender, InputMouseEventArgs e) { if (e.Handled) { return; } if (e.Button == MouseButton.Left) { foreach (var hit in Intersections()) { Console.WriteLine("GUI Select: {0}", (IGUIElement)hit.Object1); e.Handled = true; } } }