55 virtual void tick(
double dt)
override;
66 virtual const char*
type()
const override;
DtBinocularsOverlay(const std::string &className="DtBinocularsOverlay")
Constructor for DtBinocularsOverlay.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the binoculars zoom overlay component.
virtual void tick(double dt) override
Called every frame to update the overlay state.
virtual ~DtBinocularsZoomOverlay() override
Virtual destructor for DtBinocularsZoomOverlay.
DtBinocularsZoomOverlay()
Constructor for DtBinocularsZoomOverlay.
virtual bool postInitialize() override
Performs post-initialization after all components are initialized.
virtual const char * type() const override
Returns the type identifier for this component.
virtual bool isOverlayVisible() override
Determines if the zoom overlay should be visible.
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
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtBinocularsZoomOverlayType
Type identifier for DtBinocularsZoomOverlay component.
Definition vreBinocularsZoomOverlay.h:19
Defines the DtPlayerComponent base class for VR-Engage role components.
Component for displaying binoculars reticle overlay.