DtPlayerStationAppInputLogic provides application-wide input handling functionality for VR-Engage. It handles global actions such as toggling full screen mode, opening help screens, and accessing debug menus that are available across all application states.
#include <playerStationAppInputLogic.h>
◆ DtPlayerStationAppInputLogic()
| makVre::DtPlayerStationAppInputLogic::DtPlayerStationAppInputLogic |
( |
DtPlayerStationApp & | app | ) |
|
Constructor.
- Parameters
-
| app | Reference to the player station application |
Creates a new application input logic handler associated with the specified player station application instance.
◆ ~DtPlayerStationAppInputLogic()
| virtual makVre::DtPlayerStationAppInputLogic::~DtPlayerStationAppInputLogic |
( |
| ) |
|
|
overridevirtual |
Virtual destructor.
Ensures proper cleanup of the application input logic handler.
◆ initialize()
| virtual void makVre::DtPlayerStationAppInputLogic::initialize |
( |
| ) |
|
|
overridevirtual |
Initializes the application input logic.
Sets up the input manager and registers handlers for application-level input actions. This overrides the base class initialize method to add application-specific input handling.
Reimplemented from makVre::DtInputLogic.
◆ escape()
| virtual void makVre::DtPlayerStationAppInputLogic::escape |
( |
float | val | ) |
|
|
virtual |
Handles the escape key action.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Processes the escape key action, which typically navigates back or opens the application menu depending on the current state.
◆ toggleApplicationMode()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleApplicationMode |
( |
float | val | ) |
|
|
virtual |
Toggles between application modes.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Switches between different application modes (e.g., normal and editing).
◆ toggleFullScreen()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleFullScreen |
( |
float | val | ) |
|
|
virtual |
Toggles full screen mode.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Switches between windowed and full screen display modes.
◆ toggleHelpScreen()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleHelpScreen |
( |
float | val | ) |
|
|
virtual |
Toggles the help screen visibility.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Shows or hides the application help screen.
◆ toggleVreDebugMenu()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleVreDebugMenu |
( |
float | val | ) |
|
|
virtual |
Toggles the VR-Engage debug menu.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Shows or hides the VR-Engage debug menu for development and testing.
◆ toggleVrvProfilerStats()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleVrvProfilerStats |
( |
float | val | ) |
|
|
virtual |
Toggles the VR-Vantage profiler statistics.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Shows or hides the performance profiler statistics display.
◆ toggleVrvDeveloperDebugUI()
| virtual void makVre::DtPlayerStationAppInputLogic::toggleVrvDeveloperDebugUI |
( |
float | val | ) |
|
|
virtual |
Toggles the VR-Vantage developer debug UI.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Shows or hides the developer debug user interface for VR-Vantage.
◆ openUserGuide()
| virtual void makVre::DtPlayerStationAppInputLogic::openUserGuide |
( |
float | val | ) |
|
|
virtual |
Opens the user guide.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Opens the VR-Engage user guide documentation.
◆ resetView()
| virtual void makVre::DtPlayerStationAppInputLogic::resetView |
( |
float | val | ) |
|
|
virtual |
Resets the view to default position and orientation.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Resets the camera or view position to the default state.
◆ openOrFocusChat()
| virtual void makVre::DtPlayerStationAppInputLogic::openOrFocusChat |
( |
float | val | ) |
|
|
virtual |
Opens or focuses the chat interface.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Opens the chat interface if it's closed, or gives it focus if it's already open.
◆ togglePinChat()
| virtual void makVre::DtPlayerStationAppInputLogic::togglePinChat |
( |
float | val | ) |
|
|
virtual |
Toggles whether the chat window is pinned.
- Parameters
-
| val | Value from the input system (typically 1.0 for pressed) |
Toggles between pinned and unpinned states for the chat window, affecting whether it remains visible when not in focus.
◆ myApp
Reference to the player station application.
Provides access to the main application for executing actions in response to input events.
The documentation for this class was generated from the following file: