Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::MouseState Struct Reference

Structure representing a snapshot of the state of the mouse input controller. More...

#include <OgreInput.h>

List of all members.

Public Methods

long isButtonDown (uchar button) const
 Retrieves the pressed state of a mouse button. More...


Public Attributes

long Xabs
 Absolute position of the mouse pointer. More...

long Yabs
 Absolute position of the mouse pointer. More...

long Zabs
 Absolute position of the mouse pointer. More...

long Xrel
 Relative position of the mouse pointer. More...

long Yrel
 Relative position of the mouse pointer. More...

long Zrel
 Relative position of the mouse pointer. More...

long Buttons
 The buttons that have been pressed. More...


Detailed Description

Structure representing a snapshot of the state of the mouse input controller.


Member Function Documentation

long Ogre::MouseState::isButtonDown uchar    button const [inline]
 

Retrieves the pressed state of a mouse button.


Member Data Documentation

long Ogre::MouseState::Buttons
 

The buttons that have been pressed.

Each bit maps to a mouse button.

long Ogre::MouseState::Xabs
 

Absolute position of the mouse pointer.

long Ogre::MouseState::Xrel
 

Relative position of the mouse pointer.

long Ogre::MouseState::Yabs
 

Absolute position of the mouse pointer.

long Ogre::MouseState::Yrel
 

Relative position of the mouse pointer.

long Ogre::MouseState::Zabs
 

Absolute position of the mouse pointer.

long Ogre::MouseState::Zrel
 

Relative position of the mouse pointer.

Copyright © 2002 by The OGRE Team