from panda3d.core import PointerData
- class PointerData¶
Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the
- __init__(param0: PointerData)
- getInWindow() bool ¶
- property id int ¶
Returns a unique identifier for this pointer. This is for tracking individual fingers. This value should not be assumed to have a specific meaning other than that there will not be two different pointers active simultaneously with the same identifier.
- property in_window bool ¶
- property pressure float ¶
Returns the pressure of the pointer. For mice, this will be 1.0 if any button is pressed, 0.0 otherwise.
- property type PointerType ¶
Returns the type of pointing device.