Support Forum G3D Web Page |
Inherits HMD.
Public Member Functions | |
virtual float | displayFrequency () const override |
In Hz. More... | |
virtual void | getPassThroughVideo (shared_ptr< Texture > &left, shared_ptr< Texture > &right) const override |
The left and right may be the same Texture. More... | |
virtual void | getResolution (Vector2uint32 *res) const override |
virtual void | getViewCameraMatrices (float nearPlaneZ, float farPlaneZ, CFrame *viewToHead, Projection *viewProjection) const override |
virtual int | numViews () const |
virtual bool | rightEyeDominant () const override |
virtual bool | rightHanded () const override |
virtual float | standingHeadHeight () const override |
virtual void | submitFrame (RenderDevice *rd, const shared_ptr< Framebuffer > *hmdDeviceFramebuffer) override |
Static Public Member Functions | |
static shared_ptr< OpenVRHMD > | create (int index, int openVRIndex, const String &name, OpenVR *xr) |
Protected Member Functions | |
OpenVRHMD (int index, int openVRIndex, const String &name, OpenVR *xr) | |
virtual | ~OpenVRHMD () |
void | setLeftController (const shared_ptr< OpenVRController > &controller) |
void | setRightController (const shared_ptr< OpenVRController > &controller) |
Protected Attributes | |
vr::TrackedCameraHandle_t | m_TrackedCameraHandle = 0 |
OpenVR * | m_xr |
Friends | |
class | OpenVR |
|
inlineprotected |
|
protectedvirtual |
|
inlinestatic |
|
overridevirtual |
In Hz.
|
overridevirtual |
The left and right may be the same Texture.
They may also be Texture::black() if there is no passthrough video.
|
overridevirtual |
|
overridevirtual |
|
inlinevirtual |
|
overridevirtual |
|
overridevirtual |
|
inlineprotected |
|
inlineprotected |
|
overridevirtual |
|
overridevirtual |
|
friend |
|
mutableprotected |
|
protected |