The MouseEvents type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MouseEvents |
Default constructor
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
KeyParalaxEvent |
This event is fired when we increase the viewports paralax. We try to maintain the 3Dpointer
at the same aparent distance to observer, so we try to maintain the same screen paralax.
| |
MemberwiseClone | (Inherited from Object.) | |
MouseEvent |
MouseEvent mantains the coherence between pointer and windows mouse
it receives the mouse events as a objet newMouse of MouseState
| |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
_maxv |
This field contains the maximum viewport size (OpenGl restriction)
| |
_moveCursorNotParalax |
Wheel event increments Cursor3D paralax if true
Wheel event increments Viewport paralax if false
| |
_moveXYobs |
moveXYobs Pointer3D event
| |
_onlyRight |
Right button
| |
_pan |
Pan event (Screen)
| |
_paralaxFactor |
Increment of viewport paralax in a keyParalaxEvent (it is multiplied by the integer sended)
Increment of pointer3D paralax in a mouse wheel event.
| |
_paralaxPointerViewport |
Depending on moveCursorNotViewport flag, paralax viewport event of moveZobs pointer3D event
| |
_prevMouse |
Mouse state previous to the present event
| |
_zoom |
Zoom event (Screen)
| |
_zoomFactor |
How much we increase the zoom with zoom event
|
Properties
Name | Description | |
---|---|---|
DisplayPosition |
If we use zoom/pan throught display displacements
we must store the initial displayPosition
| |
MoveCursorNotParalax |
Wheel event increments Cursor3D paralax if true
Wheel event increments Viewport paralax if false
| |
MoveDisplayNotViewport |
Zoom and Pan are obtained throught Display displacements if true
Zoom and Pan are obtained moving the Viewport if false
It's better not to use both systems in the same program
| |
ParalaxFactor |
Gets/Sets the paralax factor
| |
ZoomFactor |
Gets/Sets the zoom factor
|