#include <u_3d_mouse_listener.h>
Inheritance diagram for NL3D::U3dMouseListener:
Nevrax France
Definition at line 43 of file u_3d_mouse_listener.h.
Public Types | |
enum | TMouseMode { nelStyle, edit3d, firstPerson } |
Public Member Functions | |
Get | |
virtual CVector | getHotSpot () const=0 |
virtual const NLMISC::CMatrix & | getViewMatrix ()=0 |
Setup | |
virtual void | setFrustrum (const CFrustum &frustrum)=0 |
virtual void | setHotSpot (const CVector &hotSpot)=0 |
virtual void | setMatrix (const NLMISC::CMatrix &matrix)=0 |
virtual void | setMouseMode (TMouseMode mouseMode)=0 |
virtual void | setSpeed (float speed)=0 |
virtual void | setViewport (const NL3D::CViewport &viewport)=0 |
|
Mouse mode. There is two move modes: 3d editor style and NeL style. Default mode is NeL style. (nelStyle) NeL style is: MouseRotateHotSpot: CTRL + RIGHTMOUSE MouseTranslateXYHotSpot: CTRL + LEFTMOUSE MouseTranslateZHotSpot: CTRL + SHIFT + LEFTMOUSE MouseZoomHotSpot: ALT + LEFTMOUSE (edit3dStyle) 3d editor style is: MouseRotateHotSpot: ALT + MIDDLEMOUSE MouseTranslateXYHotSpot: MIDDLEMOUSE MouseTranslateZHotSpot: CTRL + MIDDLEMOUSE (firstPerson) First person shoorter style is: MouseRotateView: MOUSE MOVE KeyUp: MOVE FORWARD KeyDown: MOVE BACKWARD Left: STRAF LEFT Right: STRAF RIGHT PageUp: MOVE UP PageDown: MOVE DOWN Definition at line 70 of file u_3d_mouse_listener.h.
00070 { nelStyle, edit3d, firstPerson }; |
|
Get the current hot spot.
Implemented in NL3D::CEvent3dMouseListener. |
|
Get the current view matrix. This matrix is updated with mouse events.
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the current frustrum to use.
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the current hot spot.
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the current view matrix to use.
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the mouse mode.
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the speed for first person mode. Default 10.f;
Implemented in NL3D::CEvent3dMouseListener. |
|
Set the viewport in use in the window. By default, the viewport is fullwindow.
Implemented in NL3D::CEvent3dMouseListener. |