/// <summary> /// Notifies Renderer that a mouse button was pressed. The mouse position is specified in /// renderer surface pixel coordinates. /// </summary> /// <param name="x">Mouse x-coordinate.</param> /// <param name="y">Mouse y-coordinate.</param> /// <param name="button">Indicates which button was pressed.</param> public void MouseButtonDown(int x, int y, Noesis.MouseButton button) { if (_uiView != null) { _uiView.MouseButtonDown(x, y, button); } }
/// <summary> /// Notifies Renderer of a mouse button double click. The mouse position is specified in /// renderer surface pixel coordinates. /// </summary> /// <param name="x">Mouse x-coordinate.</param> /// <param name="y">Mouse y-coordinate.</param> /// <param name="button">Indicates which button was pressed.</param> public void MouseDoubleClick(int x, int y, Noesis.MouseButton button) { if (_uiView != null) { _uiView.MouseDoubleClick(x, y, button); } }
/// <summary> /// Notifies Renderer of a mouse button double click. The mouse position is specified in /// renderer surface pixel coordinates. /// </summary> /// <param name="x">Mouse x-coordinate.</param> /// <param name="y">Mouse y-coordinate.</param> /// <param name="button">Indicates which button was pressed.</param> public void MouseDoubleClick(float x, float y, Noesis.MouseButton button) { if (_uiRenderer != null) { _uiRenderer.MouseDoubleClick(x, y, button); } }
/// <summary> /// Notifies Renderer of a mouse button double click. The mouse position is specified in /// renderer surface pixel coordinates. /// </summary> /// <param name="x">Mouse x-coordinate.</param> /// <param name="y">Mouse y-coordinate.</param> /// <param name="button">Indicates which button was pressed.</param> public bool MouseDoubleClick(int x, int y, Noesis.MouseButton button) { if (_uiView != null) { return(_uiView.MouseDoubleClick(x, y, button)); } return(false); }