![]() |
Plasma Engine
2.0
|
Public Member Functions | |
plCameraMoveContext (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView) | |
void | LoadState () |
void | SetCamera (plCamera *pCamera) |
const plVec3 & | GetOrbitPoint () const |
void | SetOrbitPoint (const plVec3 &vPos) |
![]() | |
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. | |
Static Public Member Functions | |
static float | ConvertCameraSpeed (plUInt32 uiSpeedIdx) |
![]() | |
static void | SetActiveInputContext (plEditorInputContext *pContext) |
static bool | IsAnyInputContextActive () |
static plEditorInputContext * | GetActiveInputContext () |
static void | UpdateActiveInputContext () |
![]() | |
static const plRTTI * | GetStaticRTTI () |
Protected Member Functions | |
virtual void | DoFocusLost (bool bCancel) override |
virtual plEditorInput | DoKeyPressEvent (QKeyEvent *e) override |
virtual plEditorInput | DoKeyReleaseEvent (QKeyEvent *e) override |
virtual plEditorInput | DoMousePressEvent (QMouseEvent *e) override |
virtual plEditorInput | DoMouseReleaseEvent (QMouseEvent *e) override |
virtual plEditorInput | DoMouseMoveEvent (QMouseEvent *e) override |
virtual plEditorInput | DoWheelEvent (QWheelEvent *e) override |
virtual void | OnSetOwner (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView) override |
Additional Inherited Members | |
![]() | |
enum class | MouseMode { Normal , WrapAtScreenBorders , HideAndWrapAtScreenBorders } |
How the mouse position is updated when the mouse cursor reaches the screen borders. More... | |
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
overrideprotectedvirtual |
Reimplemented from plEditorInputContext.
|
inlineoverrideprotectedvirtual |
Implements plEditorInputContext.
|
overrideprivatevirtual |
Reimplemented from plEditorInputContext.