Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
VR Device that can track data (HMD / Controller / Tracker / etc...) More...
#include <OxygenEngine/ext/vr.h>
Public Member Functions | |
TrackedDevice (System *parent) | |
bool | isValid () |
Check if device is still available or disconnected / shutdown. | |
std::string | getModel () |
Get the device model. | |
std::string | getSerialNumber () |
Get the device unique serial number. | |
bool | isWireless () |
Check if the device can work without being connected. | |
bool | isCharging () |
Check if the device battery is charging. | |
bool | isHmd () |
float | getBatteryCharge () |
Get if the device battery level. | |
uint64_t | getFirmwareVersion () |
int32_t | getUsageTimeSinceFirstStarted () |
Friends | |
class | System |
class | Overlay |
VR Device that can track data (HMD / Controller / Tracker / etc...)
float oe::ext::vr::TrackedDevice::getBatteryCharge | ( | ) |
Get if the device battery level.
0.0f
and 1.0f
std::string oe::ext::vr::TrackedDevice::getModel | ( | ) |
Get the device model.
Model | Common name |
---|---|
Knuckles Left | Valve Index controller (Left) |
Knuckles Right | Valve Index controller (Right) |
VIVE Tracker 3.0 MV | HTC VIVE Tracker 3.0 |
Valve SR Imp | Valve Index lighthouse |
bool oe::ext::vr::TrackedDevice::isCharging | ( | ) |
Check if the device battery is charging.