提供鼠标事件的描述参数。 更多...
| import 语句: | import Qt3D.Input 2.7 | 
| 实例化: | QMouseEvent | 
Mouse events occur when a mouse button is pressed and the ray traversing the view, originating from the mouse position intersects with one or more elements of the scene.
另请参阅 KeyEvent , WheelEvent ,和 MouseHandler .
| 
								 accepted : bool  | 
						
指定若鼠标事件已被接受
| 
								 
									
										button
									
									:
									
										Buttons
									
									  | 
						
指定触发鼠标事件的按钮
| 
								 
									
										buttons
									
									:
									
										
											int
										
									
									  | 
						
指定触发鼠标事件的按钮
| 
								 
									
										modifiers
									
									:
									
										Modifiers
									
									  | 
						
Specifies if any modifiers were applied to the mouse event
| 
								 
									
										wasHeld
									
									:
									
										
											bool
										
									
									  | 
						
Specifies if a mouse button was held down during the mouse event
| 
								 
									
										x
									
									:
									
										
											int
										
									
									  | 
						
Specifies The X coordinate of the mouse event
| 
								 
									
										y
									
									:
									
										
											int
										
									
									  | 
						
Specifies The Y coordinate of the mouse event