57 virtual void tick(
double dt)
override;
68 virtual const char*
type()
const override;
Provides handle classes for safe access to attributes.
Type-specific handle class for attributes.
Definition attributeHandle.h:229
DtBinocularsOverlay(const std::string &className="DtBinocularsOverlay")
Constructor for DtBinocularsOverlay.
DtAttributeHandleType< double > myViewMagnificationAttr
Handle for current binocular magnification.
Definition vreBinocularsZoomOverlay.h:73
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.
DtAttributeHandleType< double > myMaxViewMagnificationAttr
Handle for maximum binocular magnification.
Definition vreBinocularsZoomOverlay.h:76
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
!
Definition glsVreMessageUtil.h:50
constexpr const char * DtBinocularsZoomOverlayType
Type identifier for DtBinocularsZoomOverlay component.
Definition vreBinocularsZoomOverlay.h:21
Defines the DtPlayerComponent base class for VR-Engage role components.
Component for displaying binoculars reticle overlay.