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
DtQtQuickOverlay()
Constructor for DtQtQuickOverlay.
virtual ~DtSpectatorOverlay() override
Virtual destructor.
virtual void tick(double dt) override
Updates overlay state each frame.
std::shared_ptr< DtVreHeaderFooterUI > myPersistentNotification
Shared pointer to the persistent notification.
Definition spectatorOverlay.h:89
virtual void shutdown() override
Performs cleanup when the component is shut down.
virtual bool isSpectator()
Checks if the spectator overlay should be displayed.
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
!
Definition glsVreMessageUtil.h:50
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 ...