Movie::GetMouseState

Movie::GetMouseState
virtual void GetMouseState(unsigned mouseIndex, float* x, float* y, unsigned* buttons) = 0;
Description

GetMouseState retrieves the mouse state, such as coordinates and buttons state.buttons argument is a bit mask where bit 0 specifies left button, bit 1 the right button and bit 2 the middle button.

Parameters
Parameters 
Description 
unsigned mouseIndex 
The index of the mouse button. 
float* x 
The x mouse cursor coordinate relative to the movie viewport. 
float* y 
The y mouse cursor coordinate relative to the movie viewport. 
unsigned* buttons 
Bit mask that specifies mouse button.