VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreConfiguration Class Reference

Detailed Description

This class extends the base VRv stealth configuration to provide VREngage-specific configuration settings, particularly focusing on SensorFX integration and related options.

#include <vreConfiguration.h>

Inheritance diagram for makVre::DtVreConfiguration:
[legend]

Public Member Functions

 DtVreConfiguration ()
 
virtual ~DtVreConfiguration () override
 
virtual void setupSensorFxConfiguration ()
 
void setUsingSensorFx (bool setSfx)
 
void setSensorFxFilename (const DtFilename &filename)
 
void setSensorFxFilename (const std::string &filename)
 
bool isSensorFxEnabled () const
 
const DtFilename & getSensorFxFilename () const
 

Protected Attributes

bool mySfxEnabled
 
DtFilename mySfxFilename
 

Constructor & Destructor Documentation

◆ DtVreConfiguration()

makVre::DtVreConfiguration::DtVreConfiguration ( )

Default constructor.

Initializes default configuration values for VREngage

◆ ~DtVreConfiguration()

virtual makVre::DtVreConfiguration::~DtVreConfiguration ( )
overridevirtual

Destructor.

Member Function Documentation

◆ setupSensorFxConfiguration()

virtual void makVre::DtVreConfiguration::setupSensorFxConfiguration ( )
virtual

Sets up SensorFX configuration if enabled.

Loads the SensorFX DLL and "default_Sensors.sfx" file if SensorFX is enabled

◆ setUsingSensorFx()

void makVre::DtVreConfiguration::setUsingSensorFx ( bool setSfx)
inline

Enables or disables SensorFX.

Parameters
setSfxTrue to enable SensorFX, false to disable

References mySfxEnabled.

◆ setSensorFxFilename() [1/2]

void makVre::DtVreConfiguration::setSensorFxFilename ( const DtFilename & filename)
inline

Sets the SensorFX DLL filename.

Parameters
filenamePath to the SensorFX DLL as a DtFilename

References mySfxFilename.

◆ setSensorFxFilename() [2/2]

void makVre::DtVreConfiguration::setSensorFxFilename ( const std::string & filename)
inline

Sets the SensorFX DLL filename.

Parameters
filenamePath to the SensorFX DLL as a string

References mySfxFilename.

◆ isSensorFxEnabled()

bool makVre::DtVreConfiguration::isSensorFxEnabled ( ) const
inline

Checks if SensorFX is enabled.

Returns
True if SensorFX is enabled, false otherwise

References mySfxEnabled.

◆ getSensorFxFilename()

const DtFilename & makVre::DtVreConfiguration::getSensorFxFilename ( ) const
inline

Gets the SensorFX DLL filename.

Returns
Reference to the SensorFX DLL filename

References mySfxFilename.

Member Data Documentation

◆ mySfxEnabled

bool makVre::DtVreConfiguration::mySfxEnabled
protected

Flag indicating if SensorFX is enabled.

Referenced by isSensorFxEnabled(), and setUsingSensorFx().

◆ mySfxFilename

DtFilename makVre::DtVreConfiguration::mySfxFilename
protected

Path to the SensorFX DLL.

Referenced by getSensorFxFilename(), setSensorFxFilename(), and setSensorFxFilename().


The documentation for this class was generated from the following file: