GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_vr.cc File Reference
#include "GameApi_h.hh"
#include "GameApi_low.hh"
#include "openvr/openvr.h"
Include dependency graph for GameApi_vr.cc:

Classes

class  ZeroIntFetcher
class  SubmitML
class  PoseMovement
class  HMDProjection
class  HMDRequestPresentingCallback
class  HMDStateIntFetcher

Functions

EXPORT void check_vr_compositor_init ()

Variables

IMPORT bool g_vr_enable = false
IMPORT int g_vr_device_id = 0
Matrix g_last_resize
float eye_scale =1.0
bool g_use_vr = false
vr::IVRSystem * hmd = 0
Matrix hmd_pose = Matrix::Identity()
Matrix hmd_left_view_matrix = Matrix::Identity()
Matrix hmd_right_view_matrix = Matrix::Identity()
bool vr_pose_not_active =false

Function Documentation

◆ check_vr_compositor_init()

EXPORT void check_vr_compositor_init ( )

Variable Documentation

◆ eye_scale

float eye_scale =1.0

◆ g_last_resize

Matrix g_last_resize
extern

◆ g_use_vr

bool g_use_vr = false

◆ g_vr_device_id

IMPORT int g_vr_device_id = 0

◆ g_vr_enable

IMPORT bool g_vr_enable = false

◆ hmd

vr::IVRSystem* hmd = 0

◆ hmd_left_view_matrix

Matrix hmd_left_view_matrix = Matrix::Identity()

◆ hmd_pose

Matrix hmd_pose = Matrix::Identity()

◆ hmd_right_view_matrix

Matrix hmd_right_view_matrix = Matrix::Identity()

◆ vr_pose_not_active

bool vr_pose_not_active =false