OPENVR Scol plugin
Public Types | Public Member Functions | List of all members
sOpenvrController Class Reference

#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 ()
 

Detailed Description

sOpenvr class

Definition at line 55 of file sOpenvr.h.

Constructor & Destructor Documentation

◆ sOpenvrController()

sOpenvrController::sOpenvrController ( vr::IVRSystem *  hmdSystem,
unsigned int  id 
)

Ctor.

Definition at line 672 of file sOpenvr.cpp.

◆ ~sOpenvrController()

sOpenvrController::~sOpenvrController ( )

Dtor

Definition at line 735 of file sOpenvr.cpp.


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