71 virtual const char*
type()
const override;
91 virtual void zoom(
float val);
DtEntityControlLogic()
Constructor.
Table-based access to Lua state for configuration data.
Definition initializer.h:38
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Component for managing weapon resources, equipment, and related state attributes.
Definition weaponResourceLogic.h:45
virtual void zoomIn(double val)
Input handler for zooming in.
virtual void shutdown() override
Shuts down the zoom control component.
DtInputLogic myInputLogic
Input logic that handles mapping of input actions to zoom functions.
Definition zoomControl.h:95
virtual void zoom(float val)
Input handler for incremental zooming.
int myZoomIndex
Current index into the zoom levels array.
Definition zoomControl.h:101
virtual void zoomOut(double val)
Input handler for zooming out.
std::vector< double > myZoomLevels
Collection of available zoom magnification levels.
Definition zoomControl.h:98
virtual ~DtZoomControl() override
Virtual destructor for DtZoomControl.
DtZoomControl()
Constructor for DtZoomControl.
virtual const char * type() const override
Returns the type identifier for this component.
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the zoom control component.
Defines the logic for controlling entities in VR-Engage.
constexpr const char * zoomLevels
\vreRoleParamRequired{zoomLevels,table,zoomControl,"{1,2,4,8,16,32}",Array of magnification levels av...
Definition zoomControl.h:31
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Provides configuration initialization for VREngage components.
Definition zoomControl.h:23
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtZoomControlType
Type identifier for DtZoomControl component.
Definition zoomControl.h:37