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 get_class_type() TypeHandle
get_num_touches() int

Returns the current number of touches on the window.

get_touch_info(index: int) TouchInfo

Returns the TouchInfo object describing the specified touch.

is_touch_event() bool

Returns whether the event is a touch event.