osgGA.EventQueue¶
- class osgGA.EventQueue¶
- Represents
c++ class
- Wraps
osgGA::EventQueue
- Bases
Methods:
- :empty()¶
-
- Тип результата
bool
- :addEvent(osgGA.Event event)¶
-
- Параметры
event (
osgGA.Event
) –
- :setUseFixedMouseInputRange(bool useFixedMouseInputRange)¶
-
- Параметры
useFixedMouseInputRange (
bool
) –
- :getUseFixedMouseInputRange()¶
-
- Тип результата
bool
- :setGraphicsContext(osg.GraphicsContext context)¶
-
- Параметры
context (
osg.GraphicsContext
) –
- :getGraphicsContext()¶
-
- Тип результата
- :syncWindowRectangleWithGraphicsContext()¶
- :setMouseInputRange(double xMin, double yMin, double xMax, double yMax)¶
-
- Параметры
xMin (
double
) –yMin (
double
) –xMax (
double
) –yMax (
double
) –
- :windowResize(int x, int y, int width, int height)¶
-
- Параметры
x (
int
) –y (
int
) –width (
int
) –height (
int
) –
- :windowResize(int x, int y, int width, int height, double time)
-
- Параметры
x (
int
) –y (
int
) –width (
int
) –height (
int
) –time (
double
) –
- :mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm)¶
-
- Параметры
- :mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm, double time)
-
- Параметры
time (
double
) –
- :mouseScroll2D(double x, double y)¶
-
- Параметры
x (
double
) –y (
double
) –
- :mouseScroll2D(double x, double y, double time)
-
- Параметры
x (
double
) –y (
double
) –time (
double
) –
- :mouseWarped(double x, double y)¶
-
- Параметры
x (
double
) –y (
double
) –
- :mouseMotion(double x, double y)¶
-
- Параметры
x (
double
) –y (
double
) –
- :mouseMotion(double x, double y, double time)
-
- Параметры
x (
double
) –y (
double
) –time (
double
) –
- :mouseButtonPress(double x, double y, unsigned button)¶
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –
- :mouseButtonPress(double x, double y, unsigned button, double time)
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –time (
double
) –
- :mouseDoubleButtonPress(double x, double y, unsigned button)¶
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –
- :mouseDoubleButtonPress(double x, double y, unsigned button, double time)
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –time (
double
) –
- :mouseButtonRelease(double x, double y, unsigned button)¶
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –
- :mouseButtonRelease(double x, double y, unsigned button, double time)
-
- Параметры
x (
double
) –y (
double
) –button (
unsigned
) –time (
double
) –
- :keyPress(int key)¶
-
- Параметры
key (
int
) –
- :keyPress(int key, double time)
-
- Параметры
key (
int
) –time (
double
) –
- :keyPress(int key, int unmodifiedKey, double time)
-
- Параметры
key (
int
) –unmodifiedKey (
int
) –time (
double
) –
- :keyRelease(int key)¶
-
- Параметры
key (
int
) –
- :keyRelease(int key, double time)
-
- Параметры
key (
int
) –time (
double
) –
- :keyRelease(int key, int unmodifiedKey, double time)
-
- Параметры
key (
int
) –unmodifiedKey (
int
) –time (
double
) –
- :touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)¶
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –
- Тип результата
- :touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time)
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –time (
double
) –
- Тип результата
- :touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)¶
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –
- Тип результата
- :touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time)
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –time (
double
) –
- Тип результата
- :touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count)¶
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –tap_count (
unsigned
) –
- Тип результата
- :touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count, double time)
-
- Параметры
id (
unsigned
) –phase (
osgGA.GUIEventAdapter.TouchPhase
) –x (
double
) –y (
double
) –tap_count (
unsigned
) –time (
double
) –
- Тип результата
- :closeWindow()¶
- :closeWindow(double time)
-
- Параметры
time (
double
) –
- :quitApplication()¶
- :quitApplication(double time)
-
- Параметры
time (
double
) –
- :frame(double time)¶
-
- Параметры
time (
double
) –
- :setStartTick(osg.Timer.Type tick)¶
-
- Параметры
tick (
osg.Timer.Type
) –
- :getStartTick()¶
-
- Тип результата
- :getTime()¶
-
- Тип результата
double
- :clear()¶
- :createEvent()¶
-
- Тип результата
- :setCurrentEventState(osgGA.GUIEventAdapter ea)¶
-
- Параметры
ea (
osgGA.GUIEventAdapter
) –
- :getCurrentEventState()¶
-
- Тип результата
- :userEvent(osg.Referenced userEventData)¶
-
- Параметры
userEventData (
osg.Referenced
) –
- :userEvent(osg.Referenced userEventData, double time)
-
- Параметры
userEventData (
osg.Referenced
) –time (
double
) –
- :setFirstTouchEmulatesMouse(bool b)¶
-
- Параметры
b (
bool
) –
- :getFirstTouchEmulatesMouse()¶
-
- Тип результата
bool