57 virtual void tick(
double dt)
override;
65 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.
DtPlayerComponent()
Constructor.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
DtWeaponPoseUpdater()
Constructor for DtWeaponPoseUpdater.
virtual const char * type() const override
Returns the type identifier for this component.
virtual ~DtWeaponPoseUpdater() override
Virtual destructor for DtWeaponPoseUpdater.
void updateWeaponPosition()
Updates the weapon position and orientation based on observer state.
makVrv::DtObserver * myObserver
Pointer to the observer being used to determine weapon pose.
Definition weaponPoseUpdater.h:76
virtual void tick(double dt) override
Called every frame to update component state.
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the weapon pose updater component.
virtual void shutdown() override
Shuts down the weapon pose updater component.
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 * DtWeaponPoseUpdaterType
Type identifier for DtWeaponPoseUpdater component.
Definition weaponPoseUpdater.h:24
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.