40 INLINE
double get_x()
const;
41 INLINE
double get_y()
const;
49 void output(std::ostream &out)
const;
52 MAKE_PROPERTY(x, get_x);
53 MAKE_PROPERTY(y, get_y);
60 bool _in_window =
false;
63 double _pressure = 0.0;
68INLINE std::ostream &operator << (std::ostream &out,
const PointerData &md);
Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the Graphi...
get_pressure
Returns the pressure of the pointer.
get_in_window
If this returns false, the pointer is not currently present in the window and the values returned by ...
get_id
Returns a unique identifier for this pointer.
get_type
Returns the type of pointing device.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PointerType
Contains the types of pointer device.