winds3dvr

 Function Name  Parameter  Return  Explain
 get_device_info None string trackingSystemName,
serialNumber
Retrieves the tracking system name and device's serial number
 get_render_resolution None number width, height Retrieves the render resolution
 get_2dbuffer_resolution None number width, height Retrieves the 2dbuffer resolution
 get_device number index (1 based) device Retrieves the device in assigned slot
 get_HMD_matrix None matrix Retrieves the HMD matrix ( it's inverse of HMD device pose)
 get_eye_matrix number neye matrix Retrieves the eye matrix, neye : 0 for left eye, 1 for right eye.
The final view matrix for vr rendering is:
 scene_camera_view_matrix * eye_matrix * HMD_matrix
 debug_mode number number Set new value and return previous value. see Configuration file.
 copy_to_host number number Set new value and return previous value. see Configuration file.
 camera_offset number number Set new value and return previous value. see Configuration file.
 near_clip number number Set new value and return previous value. see Configuration file.
 far_clip number number Set new value and return previous value. see Configuration file.
 fov_scale number number Set new value and return previous value. see Configuration file.
 unit_scale number number Set new value and return previous value. see Configuration file.
 overlay_show number number Set new value and return previous value. see Configuration file.
 overlay_height number number Set new value and return previous value. see Configuration file.
 overlay_depth number number Set new value and return previous value. see Configuration file.
 overlay_alpha number number Set new value and return previous value. see Configuration file.
 Constant  Explain
 MaxTrackedDeviceCount The maximum count of tracked device

 Remark: winds3dvr is a predefined global variable, example usage:

        print( winds3dvr.get_device_info() )

        for i = 1, winds3dvr.MaxTrackedDeviceCount do
                print( winds3dvr.get_device(i).getClass() )
        end
       
        winds3dvr.overlay_show( 1 )