Torque3D Documentation / _generateds / OculusVRSensorDevice

OculusVRSensorDevice

Engine/source/platform/input/oculusVR/oculusVRSensorDevice.h

More...

Public Static Attributes

OVR_SENSORACCELERATION [OculusVRConstants::MaxSensors]
OVR_SENSORANGVEL [OculusVRConstants::MaxSensors]
OVR_SENSORMAGNETOMETER [OculusVRConstants::MaxSensors]
OVR_SENSORPOSITION [OculusVRConstants::MaxSensors]
OVR_SENSORROT [OculusVRConstants::MaxSensors]
OVR_SENSORROTANG [OculusVRConstants::MaxSensors]
OVR_SENSORROTAXISX [OculusVRConstants::MaxSensors]
OVR_SENSORROTAXISY [OculusVRConstants::MaxSensors]

Public Functions

bool
bool
process(U32 deviceType, bool generateRotAsAngAxis, bool generateRotAsEuler, bool generateRotationAsAxisEvents, bool generatePositionEvents, F32 maxAxisRadius, bool generateRawSensor)
set(ovrHmd sensor, S32 actionCodeIndex)
setYawCorrection(bool state)

Public Static Functions

Detailed Description

Public Static Attributes

U32 OVR_SENSORACCELERATION [OculusVRConstants::MaxSensors]
U32 OVR_SENSORANGVEL [OculusVRConstants::MaxSensors]
U32 OVR_SENSORMAGNETOMETER [OculusVRConstants::MaxSensors]
U32 OVR_SENSORPOSITION [OculusVRConstants::MaxSensors]
U32 OVR_SENSORROT [OculusVRConstants::MaxSensors]
U32 OVR_SENSORROTANG [OculusVRConstants::MaxSensors]
U32 OVR_SENSORROTAXISX [OculusVRConstants::MaxSensors]
U32 OVR_SENSORROTAXISY [OculusVRConstants::MaxSensors]

Protected Attributes

S32 mActionCodeIndex 
U32 mCurrentTrackingCaps 
OculusVRSensorData * mDataBuffer [2]
ovrHmd mDevice 
bool mIsValid 
U32 mLastStatus 
String mManufacturer 
bool mPositionTrackingDisabled 
OculusVRSensorData * mPrevData 
U16 mProductId 
String mProductName 
String mSerialNumber 
U32 mSupportedTrackingCaps 
U16 mVendorId 
U32 mVersion 
bool mYawCorrectionDisabled 

Public Functions

OculusVRSensorDevice()

~OculusVRSensorDevice()

cleanUp()

getAcceleration()

getAngularVelocity()

getEulerRotation()

getHasValidPosition()

getLastTrackingStatus()

getMagnetometerCalibrationAvailable()

getManufacturer()

getOrientationTrackingAvailable()

getPosition()

getPositionTrackingAvailable()

getProductId()

getProductName()

getRawEulerRotation()

getSerialNumber()

getVendorId()

getVersion()

getYawCorrection()

getYawCorrectionUserDisabled()

isValid()

process(U32 deviceType, bool generateRotAsAngAxis, bool generateRotAsEuler, bool generateRotationAsAxisEvents, bool generatePositionEvents, F32 maxAxisRadius, bool generateRawSensor)

reset()

set(ovrHmd sensor, S32 actionCodeIndex)

setPositionTracking(bool state)

setYawCorrection(bool state)

updateTrackingCaps()

Public Static Functions

buildCodeTable()