56 virtual void tick(
double dt)
override;
67 virtual void initdoc(QQuickItem* root)
override;
83 virtual const char*
type()
const override;
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
Persistent notification UI component for VR-Engage.
Definition playerStationPersistentNotification.h:35
DtQtQuickOverlay()
Constructor for DtQtQuickOverlay.
virtual ~DtSpectatorOverlay() override
Virtual destructor.
virtual void tick(double dt) override
Updates overlay state each frame.
virtual void shutdown() override
Performs cleanup when the component is shut down.
virtual bool isSpectator()
Checks if the current player is a spectator.
std::shared_ptr< DtPlayerStationPersistentNotification > myPersistentNotification
Shared pointer to the persistent notification.
Definition spectatorOverlay.h:89
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the overlay component.
DtSpectatorOverlay()
Constructor.
bool mySpectator
Flag indicating if the player is in spectator mode.
Definition spectatorOverlay.h:92
virtual void initdoc(QQuickItem *root) override
Initializes the Qt Quick document with the root item.
virtual bool isPersistentNotificationVisible()
Checks if the persistent notification is visible.
virtual const char * type() const override
Returns the component type identifier.
Defines export macros for the Spectator Frontend library.
#define SPECTATOR_DLL
Export/import macro for non-Windows platforms (empty)
Definition export.h:25
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtSpectatorOverlayType
Type identifier for DtOverlayComponent component.
Definition spectatorOverlay.h:23
Defines the DtPlayerComponent base class for VR-Engage role components.
Contains DtQtQuickOverlay class which provides a Qt Quick overlay component for rendering 2D UI over ...