PointerData
from panda3d.core import PointerData
- class PointerData
Bases:
DTOOL_SUPER_BASE
Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the GraphicsWindow.
Inheritance diagram
- __init__(*args, **kwargs)
- getInWindow()
C++ Interface: get_in_window(PointerData self)
- /**
If this returns false, the pointer is not currently present in the window
and the values returned by get_x() and get_y() may not be meaningful.
*/
- get_in_window()
C++ Interface: get_in_window(PointerData self)
- /**
If this returns false, the pointer is not currently present in the window
and the values returned by get_x() and get_y() may not be meaningful.
*/
- id
- in_window
- pressure
- type
- x
- y