|
cgv
|
structure that stores all information describing the state of a VR kit More...
#include <vr_state.h>
Public Member Functions | |
| bool | operator== (const vr_kit_state &state) const |
| check for equality | |
| vr_kit_state () | |
| standard constructor for initialization of members | |
Public Attributes | |
| vr_trackable_state | hmd |
| status and pose of hmd | |
| vr_controller_state | controller [max_nr_controllers] |
status, pose, button, axes, and vibration information of up to vr::max_nr_controllers controller and tracker devices (first two are for left and right hand controllers) | |
structure that stores all information describing the state of a VR kit
simply combines state information on the vr_kit_state::hmd (vr::vr_trackable_state) and the two controllers vr_kit_state::controller[2] (vr::vr_controller_state).The controllers are always enumerated such that controller index 0 is the left and 1 the right controller.