Represents a head-mounted device (Virtual Reality) connected to the system. More...
#include
Classes | |
struct | IAsyncCameraCallback |
Public Member Functions | |
virtual void | AddRef ()=0 |
virtual void | Release ()=0 |
virtual EHmdClass | GetClass () const =0 |
virtual void | GetDeviceInfo (HmdDeviceInfo &info) const =0 |
virtual void | GetCameraSetupInfo (float &fov, float &aspectRatioFactor) const =0 |
virtual void | GetAsymmetricCameraSetupInfo (int nEye, float &fov, float &aspectRatio, float &asymH, float &asymV, float &eyeDist) const =0 |
virtual void | UpdateInternal (EInternalUpdate)=0 |
virtual void | RecenterPose ()=0 |
virtual void | UpdateTrackingState (EVRComponent)=0 |
virtual const HmdTrackingState & | GetNativeTrackingState () const =0 |
virtual const HmdTrackingState & | GetLocalTrackingState () const =0 |
virtual Quad | GetPlayArea () const =0 |
virtual Vec2 | GetPlayAreaSize () const =0 |
virtual const IHmdController * | GetController () const =0 |
virtual const EHmdSocialScreen | GetSocialScreenType (bool *pKeepAspect=nullptr) const =0 |
virtual int | GetControllerCount () const =0 |
virtual void | GetPreferredRenderResolution (unsigned int &width, unsigned int &height)=0 |
virtual void | DisableHMDTracking (bool disable)=0 |
virtual void | SetAsyncCameraCallback (IAsyncCameraCallback *pCallback) |
Assign a game side callback to be called asynchronously from any thread to update camera matrix. | |
virtual bool | RequestAsyncCameraUpdate (AsyncCameraContext &context) |
Can be called from any thread to retrieve most up to date camera transformation. | |
Represents a head-mounted device (Virtual Reality) connected to the system.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |