|
| plOrbitCameraContext (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView) |
|
void | SetCamera (plCamera *pCamera) |
|
plCamera * | GetCamera () const |
|
void | SetDefaultCameraRelative (const plVec3 &vDirection, float fDistanceScale) |
|
void | SetDefaultCameraFixed (const plVec3 &vPosition) |
|
void | MoveCameraToDefaultPosition () |
|
void | SetOrbitVolume (const plVec3 &vCenterPos, const plVec3 &vHalfBoxSize) |
| Defines the box in which the user may move the camera around.
|
|
plVec3 | GetVolumeCenter () const |
| The center point around which the camera can be moved and rotated.
|
|
plVec3 | GetVolumeHalfSize () const |
| The half-size of the volume in which the camera may move around.
|
|
void | FocusLost (bool bCancel) |
|
plEditorInput | KeyPressEvent (QKeyEvent *e) |
|
plEditorInput | KeyReleaseEvent (QKeyEvent *e) |
|
plEditorInput | MousePressEvent (QMouseEvent *e) |
|
plEditorInput | MouseReleaseEvent (QMouseEvent *e) |
|
plEditorInput | MouseMoveEvent (QMouseEvent *e) |
|
plEditorInput | WheelEvent (QWheelEvent *e) |
|
void | MakeActiveInputContext (bool bActive=true) |
|
bool | IsActiveInputContext () const |
|
void | SetOwner (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView) |
|
plQtEngineDocumentWindow * | GetOwnerWindow () const |
|
plQtEngineViewWidget * | GetOwnerView () const |
|
bool | GetShortcutsDisabled () const |
|
void | SetShortcutsDisabled (bool bDisabled) |
| If set to true, the surrounding window will ensure to block all shortcuts and instead send keypress events to the input context.
|
|
virtual bool | IsPickingSelectedAllowed () const |
|
plVec2I32 | SetMouseMode (MouseMode mode) |
| Sets how the mouse will act when it reaches the screen border. UpdateMouseMode() must be called on every mouseMoveEvent to update the state.
|
|
plVec2I32 | UpdateMouseMode (QMouseEvent *e) |
| Updates the mouse position. Can always be called but will only have an effect if SetMouseMode() was called with one of the wrap modes.
|
|
virtual void | UpdateStatusBarText (plQtEngineDocumentWindow *pWindow) |
|
virtual const plRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const plRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
PL_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
A simple orbit camera. Use LMB to rotate, wheel to zoom, Alt to slow down.