MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / OpenVRProvider

Method OpenVRProvider

Engine/source/platform/input/openVR/openVRProvider.cpp:495–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495OpenVRProvider::OpenVRProvider() :
496 mHMD(NULL),
497 mRenderModels(NULL),
498 mDrawCanvas(NULL),
499 mGameConnection(NULL)
500{
501 dStrcpy(mName, "openvr");
502 mDeviceType = INPUTMGR->getNextDeviceType();
503 buildInputCodeTable();
504 GFXDevice::getDeviceEventSignal().notify(this, &OpenVRProvider::_handleDeviceEvent);
505 INPUTMGR->registerDevice(this);
506 dMemset(&mLUID, '\0', sizeof(mLUID));
507
508 mTrackingSpace = vr::TrackingUniverseStanding;
509}
510
511OpenVRProvider::~OpenVRProvider()
512{

Callers

nothing calls this directly

Calls 5

dStrcpyFunction · 0.85
getNextDeviceTypeMethod · 0.80
registerDeviceMethod · 0.80
dMemsetFunction · 0.50
notifyMethod · 0.45

Tested by

no test coverage detected