#include <sOculus.h>
Public Member Functions | |
sOculus () | |
~sOculus () | |
bool | Connect () |
void | Disconnect () |
void | ResetSensor () |
bool | IsConnected () |
Quatf | GetSensorOrientation () |
Vector3f | GetSensorYawPitchRoll () |
Vector3f | GetSensorAcceleration () |
Vector3f | GetSensorPosition () |
ovrHmdType | GetType () |
void | SetLowPersistance (bool state) |
bool | GetLowPersistance () |
bool | GetStereoConfigDistortionMesh (ovrEyeType eye, ovrDistortionMesh &mesh) |
bool | GetProjectionMatrix (ovrEyeType eye, float nearclip, float farclip, ovrMatrix4f &mat) |
void | WaitForFrame () |
bool | GetTimeWarpMatrix (ovrEyeType eye, ovrMatrix4f *mat) |
Sizei | GetStereoConfigFovTextureSize (ovrEyeType eye) |
bool | GetStereoConfigUvScaleOffset (ovrEyeType eye, Sizei textSize, Vector2f &scale, Vector2f &offset) |
bool | GetWindowPosAndSize (Vector2i &pos, Sizei &size, int &monitorIndex) |
float | GetStereoConfigAspect () |
float | GetStereoConfigFovY () |
float | GetStereoIPD () |
bool | UpdateStart () |
void | UpdateEnd () |
void | SetTimewarpOffset (double value) |
Static Public Attributes | |
static bool | isInitialized = false |
Protected Attributes | |
bool | mConnected |
sOculus::sOculus | ( | ) |
Ctor.
Definition at line 33 of file sOculus.cpp.
sOculus::~sOculus | ( | ) |
Dtor
Definition at line 52 of file sOculus.cpp.