GraphicsWindowProcCallbackData

from panda3d.core import GraphicsWindowProcCallbackData
class GraphicsWindowProcCallbackData

Bases:

Bases: CallbackData

This specialization on CallbackData is passed when the callback is initiated from from an implementation of the GraphicsWindowProc class, such as PythonGraphicsWindowProc.

Inheritance diagram

Inheritance diagram of GraphicsWindowProcCallbackData

static getClassType() TypeHandle
getNumTouches() int

Returns the current number of touches on the window.

getTouchInfo(index: int) TouchInfo

Returns the TouchInfo object describing the specified touch.

isTouchEvent() bool

Returns whether the event is a touch event.