MouseCursor's position


10-07-2007 04:04:55

my purpose is getting the mouse position, so, i use QuickGUI::MouseCursor :arrow: ::getSingleton().getPixelPosition();
but if using
i found the result is all the same. so, i'am confused why the result is the same and how to comprehend the relative?
thank you very much!


10-07-2007 04:58:12

Relative values are supposed to be between 0.0 and 1.0. For the Mouse Cursor, the relative position is the percentage of the Render Window Width and Height.

What values are you seeing for pixel position and relative position?