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

Inheritance diagram of PointerData

__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.

*/

getX()

C++ Interface: get_x(PointerData self)

/**

*/

getY()

C++ Interface: get_y(PointerData self)

/**

*/

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.

*/

get_x()

C++ Interface: get_x(PointerData self)

/**

*/

get_y()

C++ Interface: get_y(PointerData self)

/**

*/

id
in_window
pressure
type
x
y