Panda3D
|
This specialization on CallbackData is passed when the callback is initiated from from an implementation of the GraphicsWindowProc class, such as PythonGraphicsWindowProc. More...
Public Member Functions | |
int | getNumTouches () |
Returns the current number of touches on the window. More... | |
TouchInfo | getTouchInfo (int index) |
Returns the TouchInfo object describing the specified touch. More... | |
bool | isTouchEvent () |
Returns whether the event is a touch event. More... | |
![]() | |
output (Ostream out) | |
upcall () | |
You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback. More... | |
![]() | |
TypeHandle | getType () |
Derived classes should override this function to return get_class_type(). More... | |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). More... | |
bool | isExactType (TypeHandle handle) |
Returns true if the current object is the indicated type exactly. More... | |
bool | isOfType (TypeHandle handle) |
Returns true if the current object is or derives from the indicated type. More... | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
This specialization on CallbackData is passed when the callback is initiated from from an implementation of the GraphicsWindowProc class, such as PythonGraphicsWindowProc.
|
static |
int getNumTouches | ( | ) |
Returns the current number of touches on the window.
bool isTouchEvent | ( | ) |
Returns whether the event is a touch event.