OPENVR Scol plugin
|
#include <sOpenvr.h>
Public Types | |
enum | ControllerType { CLASSIC_CONTROLLER = 0, TRACKER_CONTROLLER = 1, HANDS_CONTROLLER = 2 } |
Public Member Functions | |
sOpenvrController (vr::IVRSystem *hmdSystem, unsigned int id) | |
~sOpenvrController () | |
void | Update (vr::TrackedDevicePose_t *trackedPoses, unsigned int deviceId) |
bool | IsVisible () |
void | SetState (bool state) |
void | SetSide (VrControllerSide side) |
VrControllerSide | GetSide () |
void | SetType (ControllerType type) |
ControllerType | GetType () |
Vector3 | GetPosition () |
Vector3 | GetVelocity () |
Vector3 | GetAngularVelocity () |
Quaternion | GetOrientation () |
void | Rumble (float value) |
std::vector< bool > | GetButtonsState () |
Vector3 | GetAxisValues () |
sOpenvrController::sOpenvrController | ( | vr::IVRSystem * | hmdSystem, |
unsigned int | id | ||
) |
Ctor.
Definition at line 672 of file sOpenvr.cpp.
sOpenvrController::~sOpenvrController | ( | ) |
Dtor
Definition at line 735 of file sOpenvr.cpp.