Overwrite the routines of this class to get callback functions for when the pointer intersected the texture and the button was pressed.
More...
#include <coTexturedBackground.h>
Overwrite the routines of this class to get callback functions for when the pointer intersected the texture and the button was pressed.
◆ ~coTexturedBackgroundActor()
virtual vrui::coTexturedBackgroundActor::~coTexturedBackgroundActor |
( |
| ) |
|
|
inlinevirtual |
◆ texturePointerClicked()
void vrui::coTexturedBackgroundActor::texturePointerClicked |
( |
coTexturedBackground * |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
Action listener called when the action button was just clicked.
- Parameters
-
tb | textured background object which triggered the event |
x,y | hit location on textured background when button was pressed [0..1] |
◆ texturePointerDragged()
void vrui::coTexturedBackgroundActor::texturePointerDragged |
( |
coTexturedBackground * |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
Action listener called when the pointer is moved with the action button down.
- Parameters
-
tb | textured background object which triggered the event |
x,y | hit location on textured background when button was pressed [0..1] |
◆ texturePointerLeft()
Action listener called when the pointer left the textured background.
- Parameters
-
tb | textured background object which triggered the event |
◆ texturePointerMoved()
void vrui::coTexturedBackgroundActor::texturePointerMoved |
( |
coTexturedBackground * |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
Action listener called when the pointer is moved with no button pressed.
- Parameters
-
tb | textured background object which triggered the event |
x,y | hit location on textured background when button was pressed [0..1] |
◆ texturePointerReleased()
void vrui::coTexturedBackgroundActor::texturePointerReleased |
( |
coTexturedBackground * |
, |
|
|
float |
, |
|
|
float |
|
|
) |
| |
|
virtual |
Action listener called when the action button was just released.
- Parameters
-
tb | textured background object which triggered the event |
x,y | hit location on textured background when button was pressed [0..1] |
The documentation for this class was generated from the following files: